| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056 |
- (function webpackUniversalModuleDefinition(root, factory) {
- if(typeof exports === 'object' && typeof module === 'object')
- module.exports = factory();
- else if(typeof define === 'function' && define.amd)
- define([], factory);
- else if(typeof exports === 'object')
- exports["index"] = factory();
- else
- root["index"] = factory();
- })((typeof self !== 'undefined' ? self : this), function() {
- return /******/ (function(modules) { // webpackBootstrap
- /******/ // The module cache
- /******/ var installedModules = {};
- /******/
- /******/ // The require function
- /******/ function __webpack_require__(moduleId) {
- /******/
- /******/ // Check if module is in cache
- /******/ if(installedModules[moduleId]) {
- /******/ return installedModules[moduleId].exports;
- /******/ }
- /******/ // Create a new module (and put it into the cache)
- /******/ var module = installedModules[moduleId] = {
- /******/ i: moduleId,
- /******/ l: false,
- /******/ exports: {}
- /******/ };
- /******/
- /******/ // Execute the module function
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
- /******/
- /******/ // Flag the module as loaded
- /******/ module.l = true;
- /******/
- /******/ // Return the exports of the module
- /******/ return module.exports;
- /******/ }
- /******/
- /******/
- /******/ // expose the modules object (__webpack_modules__)
- /******/ __webpack_require__.m = modules;
- /******/
- /******/ // expose the module cache
- /******/ __webpack_require__.c = installedModules;
- /******/
- /******/ // define getter function for harmony exports
- /******/ __webpack_require__.d = function(exports, name, getter) {
- /******/ if(!__webpack_require__.o(exports, name)) {
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
- /******/ }
- /******/ };
- /******/
- /******/ // define __esModule on exports
- /******/ __webpack_require__.r = function(exports) {
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
- /******/ }
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
- /******/ };
- /******/
- /******/ // create a fake namespace object
- /******/ // mode & 1: value is a module id, require it
- /******/ // mode & 2: merge all properties of value into the ns
- /******/ // mode & 4: return value when already ns object
- /******/ // mode & 8|1: behave like require
- /******/ __webpack_require__.t = function(value, mode) {
- /******/ if(mode & 1) value = __webpack_require__(value);
- /******/ if(mode & 8) return value;
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
- /******/ var ns = Object.create(null);
- /******/ __webpack_require__.r(ns);
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
- /******/ return ns;
- /******/ };
- /******/
- /******/ // getDefaultExport function for compatibility with non-harmony modules
- /******/ __webpack_require__.n = function(module) {
- /******/ var getter = module && module.__esModule ?
- /******/ function getDefault() { return module['default']; } :
- /******/ function getModuleExports() { return module; };
- /******/ __webpack_require__.d(getter, 'a', getter);
- /******/ return getter;
- /******/ };
- /******/
- /******/ // Object.prototype.hasOwnProperty.call
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
- /******/
- /******/ // __webpack_public_path__
- /******/ __webpack_require__.p = "";
- /******/
- /******/
- /******/ // Load entry module and return exports
- /******/ return __webpack_require__(__webpack_require__.s = "fb15");
- /******/ })
- /************************************************************************/
- /******/ ({
- /***/ "01f9":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var LIBRARY = __webpack_require__("2d00");
- var $export = __webpack_require__("5ca1");
- var redefine = __webpack_require__("2aba");
- var hide = __webpack_require__("32e9");
- var Iterators = __webpack_require__("84f2");
- var $iterCreate = __webpack_require__("41a0");
- var setToStringTag = __webpack_require__("7f20");
- var getPrototypeOf = __webpack_require__("38fd");
- var ITERATOR = __webpack_require__("2b4c")('iterator');
- var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
- var FF_ITERATOR = '@@iterator';
- var KEYS = 'keys';
- var VALUES = 'values';
- var returnThis = function () { return this; };
- module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
- $iterCreate(Constructor, NAME, next);
- var getMethod = function (kind) {
- if (!BUGGY && kind in proto) return proto[kind];
- switch (kind) {
- case KEYS: return function keys() { return new Constructor(this, kind); };
- case VALUES: return function values() { return new Constructor(this, kind); };
- } return function entries() { return new Constructor(this, kind); };
- };
- var TAG = NAME + ' Iterator';
- var DEF_VALUES = DEFAULT == VALUES;
- var VALUES_BUG = false;
- var proto = Base.prototype;
- var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
- var $default = $native || getMethod(DEFAULT);
- var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
- var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
- var methods, key, IteratorPrototype;
- // Fix native
- if ($anyNative) {
- IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
- if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
- // Set @@toStringTag to native iterators
- setToStringTag(IteratorPrototype, TAG, true);
- // fix for some old engines
- if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
- }
- }
- // fix Array#{values, @@iterator}.name in V8 / FF
- if (DEF_VALUES && $native && $native.name !== VALUES) {
- VALUES_BUG = true;
- $default = function values() { return $native.call(this); };
- }
- // Define iterator
- if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
- hide(proto, ITERATOR, $default);
- }
- // Plug for library
- Iterators[NAME] = $default;
- Iterators[TAG] = returnThis;
- if (DEFAULT) {
- methods = {
- values: DEF_VALUES ? $default : getMethod(VALUES),
- keys: IS_SET ? $default : getMethod(KEYS),
- entries: $entries
- };
- if (FORCED) for (key in methods) {
- if (!(key in proto)) redefine(proto, key, methods[key]);
- } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
- }
- return methods;
- };
- /***/ }),
- /***/ "02f4":
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__("4588");
- var defined = __webpack_require__("be13");
- // true -> String#at
- // false -> String#codePointAt
- module.exports = function (TO_STRING) {
- return function (that, pos) {
- var s = String(defined(that));
- var i = toInteger(pos);
- var l = s.length;
- var a, b;
- if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
- a = s.charCodeAt(i);
- return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
- ? TO_STRING ? s.charAt(i) : a
- : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
- };
- };
- /***/ }),
- /***/ "0390":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var at = __webpack_require__("02f4")(true);
- // `AdvanceStringIndex` abstract operation
- // https://tc39.github.io/ecma262/#sec-advancestringindex
- module.exports = function (S, index, unicode) {
- return index + (unicode ? at(S, index).length : 1);
- };
- /***/ }),
- /***/ "04f4":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_avatar_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("26f7");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_avatar_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_avatar_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_avatar_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "07e3":
- /***/ (function(module, exports) {
- var hasOwnProperty = {}.hasOwnProperty;
- module.exports = function (it, key) {
- return hasOwnProperty.call(it, key);
- };
- /***/ }),
- /***/ "0a49":
- /***/ (function(module, exports, __webpack_require__) {
- // 0 -> Array#forEach
- // 1 -> Array#map
- // 2 -> Array#filter
- // 3 -> Array#some
- // 4 -> Array#every
- // 5 -> Array#find
- // 6 -> Array#findIndex
- var ctx = __webpack_require__("9b43");
- var IObject = __webpack_require__("626a");
- var toObject = __webpack_require__("4bf8");
- var toLength = __webpack_require__("9def");
- var asc = __webpack_require__("cd1c");
- module.exports = function (TYPE, $create) {
- var IS_MAP = TYPE == 1;
- var IS_FILTER = TYPE == 2;
- var IS_SOME = TYPE == 3;
- var IS_EVERY = TYPE == 4;
- var IS_FIND_INDEX = TYPE == 6;
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
- var create = $create || asc;
- return function ($this, callbackfn, that) {
- var O = toObject($this);
- var self = IObject(O);
- var f = ctx(callbackfn, that, 3);
- var length = toLength(self.length);
- var index = 0;
- var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
- var val, res;
- for (;length > index; index++) if (NO_HOLES || index in self) {
- val = self[index];
- res = f(val, index, O);
- if (TYPE) {
- if (IS_MAP) result[index] = res; // map
- else if (res) switch (TYPE) {
- case 3: return true; // some
- case 5: return val; // find
- case 6: return index; // findIndex
- case 2: result.push(val); // filter
- } else if (IS_EVERY) return false; // every
- }
- }
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
- };
- };
- /***/ }),
- /***/ "0af2":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "0bfb":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // 21.2.5.3 get RegExp.prototype.flags
- var anObject = __webpack_require__("cb7c");
- module.exports = function () {
- var that = anObject(this);
- var result = '';
- if (that.global) result += 'g';
- if (that.ignoreCase) result += 'i';
- if (that.multiline) result += 'm';
- if (that.unicode) result += 'u';
- if (that.sticky) result += 'y';
- return result;
- };
- /***/ }),
- /***/ "0d58":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.14 / 15.2.3.14 Object.keys(O)
- var $keys = __webpack_require__("ce10");
- var enumBugKeys = __webpack_require__("e11e");
- module.exports = Object.keys || function keys(O) {
- return $keys(O, enumBugKeys);
- };
- /***/ }),
- /***/ "0e15":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popover_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9768");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popover_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popover_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_popover_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "0fc9":
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__("3a38");
- var max = Math.max;
- var min = Math.min;
- module.exports = function (index, length) {
- index = toInteger(index);
- return index < 0 ? max(index + length, 0) : min(index, length);
- };
- /***/ }),
- /***/ "1021":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "107a":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "1169":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.2.2 IsArray(argument)
- var cof = __webpack_require__("2d95");
- module.exports = Array.isArray || function isArray(arg) {
- return cof(arg) == 'Array';
- };
- /***/ }),
- /***/ "1173":
- /***/ (function(module, exports) {
- module.exports = function (it, Constructor, name, forbiddenField) {
- if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
- throw TypeError(name + ': incorrect invocation!');
- } return it;
- };
- /***/ }),
- /***/ "11e9":
- /***/ (function(module, exports, __webpack_require__) {
- var pIE = __webpack_require__("52a7");
- var createDesc = __webpack_require__("4630");
- var toIObject = __webpack_require__("6821");
- var toPrimitive = __webpack_require__("6a99");
- var has = __webpack_require__("69a8");
- var IE8_DOM_DEFINE = __webpack_require__("c69a");
- var gOPD = Object.getOwnPropertyDescriptor;
- exports.f = __webpack_require__("9e1e") ? gOPD : function getOwnPropertyDescriptor(O, P) {
- O = toIObject(O);
- P = toPrimitive(P, true);
- if (IE8_DOM_DEFINE) try {
- return gOPD(O, P);
- } catch (e) { /* empty */ }
- if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
- };
- /***/ }),
- /***/ "1495":
- /***/ (function(module, exports, __webpack_require__) {
- var dP = __webpack_require__("86cc");
- var anObject = __webpack_require__("cb7c");
- var getKeys = __webpack_require__("0d58");
- module.exports = __webpack_require__("9e1e") ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var keys = getKeys(Properties);
- var length = keys.length;
- var i = 0;
- var P;
- while (length > i) dP.f(O, P = keys[i++], Properties[P]);
- return O;
- };
- /***/ }),
- /***/ "15cf":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "1654":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $at = __webpack_require__("71c1")(true);
- // 21.1.3.27 String.prototype[@@iterator]()
- __webpack_require__("30f1")(String, 'String', function (iterated) {
- this._t = String(iterated); // target
- this._i = 0; // next index
- // 21.1.5.2.1 %StringIteratorPrototype%.next()
- }, function () {
- var O = this._t;
- var index = this._i;
- var point;
- if (index >= O.length) return { value: undefined, done: true };
- point = $at(O, index);
- this._i += point.length;
- return { value: point, done: false };
- });
- /***/ }),
- /***/ "1663":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_text_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e86c");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_text_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_text_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_text_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "1691":
- /***/ (function(module, exports) {
- // IE 8- don't enum bug keys
- module.exports = (
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
- ).split(',');
- /***/ }),
- /***/ "1af6":
- /***/ (function(module, exports, __webpack_require__) {
- // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
- var $export = __webpack_require__("63b6");
- $export($export.S, 'Array', { isArray: __webpack_require__("9003") });
- /***/ }),
- /***/ "1bc3":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.1.1 ToPrimitive(input [, PreferredType])
- var isObject = __webpack_require__("f772");
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
- // and the second argument - flag - preferred type is a string
- module.exports = function (it, S) {
- if (!isObject(it)) return it;
- var fn, val;
- if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
- if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
- if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
- throw TypeError("Can't convert object to primitive value");
- };
- /***/ }),
- /***/ "1c4c":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ctx = __webpack_require__("9b43");
- var $export = __webpack_require__("5ca1");
- var toObject = __webpack_require__("4bf8");
- var call = __webpack_require__("1fa8");
- var isArrayIter = __webpack_require__("33a4");
- var toLength = __webpack_require__("9def");
- var createProperty = __webpack_require__("f1ae");
- var getIterFn = __webpack_require__("27ee");
- $export($export.S + $export.F * !__webpack_require__("5cc5")(function (iter) { Array.from(iter); }), 'Array', {
- // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
- from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
- var O = toObject(arrayLike);
- var C = typeof this == 'function' ? this : Array;
- var aLen = arguments.length;
- var mapfn = aLen > 1 ? arguments[1] : undefined;
- var mapping = mapfn !== undefined;
- var index = 0;
- var iterFn = getIterFn(O);
- var length, result, step, iterator;
- if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
- // if object isn't iterable or it's array with default iterator - use simple case
- if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
- for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
- createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
- }
- } else {
- length = toLength(O.length);
- for (result = new C(length); length > index; index++) {
- createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
- }
- }
- result.length = index;
- return result;
- }
- });
- /***/ }),
- /***/ "1e45":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_button_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("83d7");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_button_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_button_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_button_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "1ec9":
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__("f772");
- var document = __webpack_require__("e53d").document;
- // typeof document.createElement is 'object' in old IE
- var is = isObject(document) && isObject(document.createElement);
- module.exports = function (it) {
- return is ? document.createElement(it) : {};
- };
- /***/ }),
- /***/ "1fa8":
- /***/ (function(module, exports, __webpack_require__) {
- // call something on iterator step with safe closing on error
- var anObject = __webpack_require__("cb7c");
- module.exports = function (iterator, fn, value, entries) {
- try {
- return entries ? fn(anObject(value)[0], value[1]) : fn(value);
- // 7.4.6 IteratorClose(iterator, completion)
- } catch (e) {
- var ret = iterator['return'];
- if (ret !== undefined) anObject(ret.call(iterator));
- throw e;
- }
- };
- /***/ }),
- /***/ "20d6":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
- var $export = __webpack_require__("5ca1");
- var $find = __webpack_require__("0a49")(6);
- var KEY = 'findIndex';
- var forced = true;
- // Shouldn't skip holes
- if (KEY in []) Array(1)[KEY](function () { forced = false; });
- $export($export.P + $export.F * forced, 'Array', {
- findIndex: function findIndex(callbackfn /* , that = undefined */) {
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- __webpack_require__("9c6c")(KEY);
- /***/ }),
- /***/ "20fd":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $defineProperty = __webpack_require__("d9f6");
- var createDesc = __webpack_require__("aebd");
- module.exports = function (object, index, value) {
- if (index in object) $defineProperty.f(object, index, createDesc(0, value));
- else object[index] = value;
- };
- /***/ }),
- /***/ "214f":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- __webpack_require__("b0c5");
- var redefine = __webpack_require__("2aba");
- var hide = __webpack_require__("32e9");
- var fails = __webpack_require__("79e5");
- var defined = __webpack_require__("be13");
- var wks = __webpack_require__("2b4c");
- var regexpExec = __webpack_require__("520a");
- var SPECIES = wks('species');
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
- // #replace needs built-in support for named groups.
- // #match works fine because it just return the exec results, even if it has
- // a "grops" property.
- var re = /./;
- re.exec = function () {
- var result = [];
- result.groups = { a: '7' };
- return result;
- };
- return ''.replace(re, '$<a>') !== '7';
- });
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
- var re = /(?:)/;
- var originalExec = re.exec;
- re.exec = function () { return originalExec.apply(this, arguments); };
- var result = 'ab'.split(re);
- return result.length === 2 && result[0] === 'a' && result[1] === 'b';
- })();
- module.exports = function (KEY, length, exec) {
- var SYMBOL = wks(KEY);
- var DELEGATES_TO_SYMBOL = !fails(function () {
- // String methods call symbol-named RegEp methods
- var O = {};
- O[SYMBOL] = function () { return 7; };
- return ''[KEY](O) != 7;
- });
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
- // Symbol-named RegExp methods call .exec
- var execCalled = false;
- var re = /a/;
- re.exec = function () { execCalled = true; return null; };
- if (KEY === 'split') {
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
- // a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- }
- re[SYMBOL]('');
- return !execCalled;
- }) : undefined;
- if (
- !DELEGATES_TO_SYMBOL ||
- !DELEGATES_TO_EXEC ||
- (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
- ) {
- var nativeRegExpMethod = /./[SYMBOL];
- var fns = exec(
- defined,
- SYMBOL,
- ''[KEY],
- function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
- if (regexp.exec === regexpExec) {
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
- // The native String method already delegates to @@method (this
- // polyfilled function), leasing to infinite recursion.
- // We avoid it by directly calling the native @@method method.
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
- }
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
- }
- return { done: false };
- }
- );
- var strfn = fns[0];
- var rxfn = fns[1];
- redefine(String.prototype, KEY, strfn);
- hide(RegExp.prototype, SYMBOL, length == 2
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
- ? function (string, arg) { return rxfn.call(string, this, arg); }
- // 21.2.5.6 RegExp.prototype[@@match](string)
- // 21.2.5.9 RegExp.prototype[@@search](string)
- : function (string) { return rxfn.call(string, this); }
- );
- }
- };
- /***/ }),
- /***/ "230e":
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__("d3f4");
- var document = __webpack_require__("7726").document;
- // typeof document.createElement is 'object' in old IE
- var is = isObject(document) && isObject(document.createElement);
- module.exports = function (it) {
- return is ? document.createElement(it) : {};
- };
- /***/ }),
- /***/ "23c6":
- /***/ (function(module, exports, __webpack_require__) {
- // getting tag from 19.1.3.6 Object.prototype.toString()
- var cof = __webpack_require__("2d95");
- var TAG = __webpack_require__("2b4c")('toStringTag');
- // ES3 wrong here
- var ARG = cof(function () { return arguments; }()) == 'Arguments';
- // fallback for IE11 Script Access Denied error
- var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (e) { /* empty */ }
- };
- module.exports = function (it) {
- var O, T, B;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
- // builtinTag case
- : ARG ? cof(O)
- // ES3 arguments fallback
- : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
- };
- /***/ }),
- /***/ "241e":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.1.13 ToObject(argument)
- var defined = __webpack_require__("25eb");
- module.exports = function (it) {
- return Object(defined(it));
- };
- /***/ }),
- /***/ "24c5":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var LIBRARY = __webpack_require__("b8e3");
- var global = __webpack_require__("e53d");
- var ctx = __webpack_require__("d864");
- var classof = __webpack_require__("40c3");
- var $export = __webpack_require__("63b6");
- var isObject = __webpack_require__("f772");
- var aFunction = __webpack_require__("79aa");
- var anInstance = __webpack_require__("1173");
- var forOf = __webpack_require__("a22a");
- var speciesConstructor = __webpack_require__("f201");
- var task = __webpack_require__("4178").set;
- var microtask = __webpack_require__("aba2")();
- var newPromiseCapabilityModule = __webpack_require__("656e");
- var perform = __webpack_require__("4439");
- var userAgent = __webpack_require__("bc13");
- var promiseResolve = __webpack_require__("cd78");
- var PROMISE = 'Promise';
- var TypeError = global.TypeError;
- var process = global.process;
- var versions = process && process.versions;
- var v8 = versions && versions.v8 || '';
- var $Promise = global[PROMISE];
- var isNode = classof(process) == 'process';
- var empty = function () { /* empty */ };
- var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
- var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
- var USE_NATIVE = !!function () {
- try {
- // correct subclassing with @@species support
- var promise = $Promise.resolve(1);
- var FakePromise = (promise.constructor = {})[__webpack_require__("5168")('species')] = function (exec) {
- exec(empty, empty);
- };
- // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
- return (isNode || typeof PromiseRejectionEvent == 'function')
- && promise.then(empty) instanceof FakePromise
- // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
- // we can't detect it synchronously, so just check versions
- && v8.indexOf('6.6') !== 0
- && userAgent.indexOf('Chrome/66') === -1;
- } catch (e) { /* empty */ }
- }();
- // helpers
- var isThenable = function (it) {
- var then;
- return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
- };
- var notify = function (promise, isReject) {
- if (promise._n) return;
- promise._n = true;
- var chain = promise._c;
- microtask(function () {
- var value = promise._v;
- var ok = promise._s == 1;
- var i = 0;
- var run = function (reaction) {
- var handler = ok ? reaction.ok : reaction.fail;
- var resolve = reaction.resolve;
- var reject = reaction.reject;
- var domain = reaction.domain;
- var result, then, exited;
- try {
- if (handler) {
- if (!ok) {
- if (promise._h == 2) onHandleUnhandled(promise);
- promise._h = 1;
- }
- if (handler === true) result = value;
- else {
- if (domain) domain.enter();
- result = handler(value); // may throw
- if (domain) {
- domain.exit();
- exited = true;
- }
- }
- if (result === reaction.promise) {
- reject(TypeError('Promise-chain cycle'));
- } else if (then = isThenable(result)) {
- then.call(result, resolve, reject);
- } else resolve(result);
- } else reject(value);
- } catch (e) {
- if (domain && !exited) domain.exit();
- reject(e);
- }
- };
- while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
- promise._c = [];
- promise._n = false;
- if (isReject && !promise._h) onUnhandled(promise);
- });
- };
- var onUnhandled = function (promise) {
- task.call(global, function () {
- var value = promise._v;
- var unhandled = isUnhandled(promise);
- var result, handler, console;
- if (unhandled) {
- result = perform(function () {
- if (isNode) {
- process.emit('unhandledRejection', value, promise);
- } else if (handler = global.onunhandledrejection) {
- handler({ promise: promise, reason: value });
- } else if ((console = global.console) && console.error) {
- console.error('Unhandled promise rejection', value);
- }
- });
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
- promise._h = isNode || isUnhandled(promise) ? 2 : 1;
- } promise._a = undefined;
- if (unhandled && result.e) throw result.v;
- });
- };
- var isUnhandled = function (promise) {
- return promise._h !== 1 && (promise._a || promise._c).length === 0;
- };
- var onHandleUnhandled = function (promise) {
- task.call(global, function () {
- var handler;
- if (isNode) {
- process.emit('rejectionHandled', promise);
- } else if (handler = global.onrejectionhandled) {
- handler({ promise: promise, reason: promise._v });
- }
- });
- };
- var $reject = function (value) {
- var promise = this;
- if (promise._d) return;
- promise._d = true;
- promise = promise._w || promise; // unwrap
- promise._v = value;
- promise._s = 2;
- if (!promise._a) promise._a = promise._c.slice();
- notify(promise, true);
- };
- var $resolve = function (value) {
- var promise = this;
- var then;
- if (promise._d) return;
- promise._d = true;
- promise = promise._w || promise; // unwrap
- try {
- if (promise === value) throw TypeError("Promise can't be resolved itself");
- if (then = isThenable(value)) {
- microtask(function () {
- var wrapper = { _w: promise, _d: false }; // wrap
- try {
- then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
- } catch (e) {
- $reject.call(wrapper, e);
- }
- });
- } else {
- promise._v = value;
- promise._s = 1;
- notify(promise, false);
- }
- } catch (e) {
- $reject.call({ _w: promise, _d: false }, e); // wrap
- }
- };
- // constructor polyfill
- if (!USE_NATIVE) {
- // 25.4.3.1 Promise(executor)
- $Promise = function Promise(executor) {
- anInstance(this, $Promise, PROMISE, '_h');
- aFunction(executor);
- Internal.call(this);
- try {
- executor(ctx($resolve, this, 1), ctx($reject, this, 1));
- } catch (err) {
- $reject.call(this, err);
- }
- };
- // eslint-disable-next-line no-unused-vars
- Internal = function Promise(executor) {
- this._c = []; // <- awaiting reactions
- this._a = undefined; // <- checked in isUnhandled reactions
- this._s = 0; // <- state
- this._d = false; // <- done
- this._v = undefined; // <- value
- this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
- this._n = false; // <- notify
- };
- Internal.prototype = __webpack_require__("5c95")($Promise.prototype, {
- // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
- then: function then(onFulfilled, onRejected) {
- var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
- reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
- reaction.fail = typeof onRejected == 'function' && onRejected;
- reaction.domain = isNode ? process.domain : undefined;
- this._c.push(reaction);
- if (this._a) this._a.push(reaction);
- if (this._s) notify(this, false);
- return reaction.promise;
- },
- // 25.4.5.1 Promise.prototype.catch(onRejected)
- 'catch': function (onRejected) {
- return this.then(undefined, onRejected);
- }
- });
- OwnPromiseCapability = function () {
- var promise = new Internal();
- this.promise = promise;
- this.resolve = ctx($resolve, promise, 1);
- this.reject = ctx($reject, promise, 1);
- };
- newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
- return C === $Promise || C === Wrapper
- ? new OwnPromiseCapability(C)
- : newGenericPromiseCapability(C);
- };
- }
- $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
- __webpack_require__("45f2")($Promise, PROMISE);
- __webpack_require__("4c95")(PROMISE);
- Wrapper = __webpack_require__("584a")[PROMISE];
- // statics
- $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
- // 25.4.4.5 Promise.reject(r)
- reject: function reject(r) {
- var capability = newPromiseCapability(this);
- var $$reject = capability.reject;
- $$reject(r);
- return capability.promise;
- }
- });
- $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
- // 25.4.4.6 Promise.resolve(x)
- resolve: function resolve(x) {
- return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
- }
- });
- $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__("4ee1")(function (iter) {
- $Promise.all(iter)['catch'](empty);
- })), PROMISE, {
- // 25.4.4.1 Promise.all(iterable)
- all: function all(iterable) {
- var C = this;
- var capability = newPromiseCapability(C);
- var resolve = capability.resolve;
- var reject = capability.reject;
- var result = perform(function () {
- var values = [];
- var index = 0;
- var remaining = 1;
- forOf(iterable, false, function (promise) {
- var $index = index++;
- var alreadyCalled = false;
- values.push(undefined);
- remaining++;
- C.resolve(promise).then(function (value) {
- if (alreadyCalled) return;
- alreadyCalled = true;
- values[$index] = value;
- --remaining || resolve(values);
- }, reject);
- });
- --remaining || resolve(values);
- });
- if (result.e) reject(result.v);
- return capability.promise;
- },
- // 25.4.4.4 Promise.race(iterable)
- race: function race(iterable) {
- var C = this;
- var capability = newPromiseCapability(C);
- var reject = capability.reject;
- var result = perform(function () {
- forOf(iterable, false, function (promise) {
- C.resolve(promise).then(capability.resolve, reject);
- });
- });
- if (result.e) reject(result.v);
- return capability.promise;
- }
- });
- /***/ }),
- /***/ "25eb":
- /***/ (function(module, exports) {
- // 7.2.1 RequireObjectCoercible(argument)
- module.exports = function (it) {
- if (it == undefined) throw TypeError("Can't call method on " + it);
- return it;
- };
- /***/ }),
- /***/ "2621":
- /***/ (function(module, exports) {
- exports.f = Object.getOwnPropertySymbols;
- /***/ }),
- /***/ "2638":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=["attrs","props","domProps"],toArrayMerge=["class","style","directives"],functionalMerge=["on","nativeOn"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if("hook"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;
- /***/ }),
- /***/ "26f7":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "27ee":
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__("23c6");
- var ITERATOR = __webpack_require__("2b4c")('iterator');
- var Iterators = __webpack_require__("84f2");
- module.exports = __webpack_require__("8378").getIteratorMethod = function (it) {
- if (it != undefined) return it[ITERATOR]
- || it['@@iterator']
- || Iterators[classof(it)];
- };
- /***/ }),
- /***/ "294c":
- /***/ (function(module, exports) {
- module.exports = function (exec) {
- try {
- return !!exec();
- } catch (e) {
- return true;
- }
- };
- /***/ }),
- /***/ "2aba":
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__("7726");
- var hide = __webpack_require__("32e9");
- var has = __webpack_require__("69a8");
- var SRC = __webpack_require__("ca5a")('src');
- var $toString = __webpack_require__("fa5b");
- var TO_STRING = 'toString';
- var TPL = ('' + $toString).split(TO_STRING);
- __webpack_require__("8378").inspectSource = function (it) {
- return $toString.call(it);
- };
- (module.exports = function (O, key, val, safe) {
- var isFunction = typeof val == 'function';
- if (isFunction) has(val, 'name') || hide(val, 'name', key);
- if (O[key] === val) return;
- if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
- if (O === global) {
- O[key] = val;
- } else if (!safe) {
- delete O[key];
- hide(O, key, val);
- } else if (O[key]) {
- O[key] = val;
- } else {
- hide(O, key, val);
- }
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
- })(Function.prototype, TO_STRING, function toString() {
- return typeof this == 'function' && this[SRC] || $toString.call(this);
- });
- /***/ }),
- /***/ "2aeb":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
- var anObject = __webpack_require__("cb7c");
- var dPs = __webpack_require__("1495");
- var enumBugKeys = __webpack_require__("e11e");
- var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
- var Empty = function () { /* empty */ };
- var PROTOTYPE = 'prototype';
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
- var createDict = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = __webpack_require__("230e")('iframe');
- var i = enumBugKeys.length;
- var lt = '<';
- var gt = '>';
- var iframeDocument;
- iframe.style.display = 'none';
- __webpack_require__("fab2").appendChild(iframe);
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
- // createDict = iframe.contentWindow.Object;
- // html.removeChild(iframe);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
- iframeDocument.close();
- createDict = iframeDocument.F;
- while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
- return createDict();
- };
- module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- Empty[PROTOTYPE] = anObject(O);
- result = new Empty();
- Empty[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = createDict();
- return Properties === undefined ? result : dPs(result, Properties);
- };
- /***/ }),
- /***/ "2b4c":
- /***/ (function(module, exports, __webpack_require__) {
- var store = __webpack_require__("5537")('wks');
- var uid = __webpack_require__("ca5a");
- var Symbol = __webpack_require__("7726").Symbol;
- var USE_SYMBOL = typeof Symbol == 'function';
- var $exports = module.exports = function (name) {
- return store[name] || (store[name] =
- USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
- };
- $exports.store = store;
- /***/ }),
- /***/ "2d00":
- /***/ (function(module, exports) {
- module.exports = false;
- /***/ }),
- /***/ "2d95":
- /***/ (function(module, exports) {
- var toString = {}.toString;
- module.exports = function (it) {
- return toString.call(it).slice(8, -1);
- };
- /***/ }),
- /***/ "2f21":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fails = __webpack_require__("79e5");
- module.exports = function (method, arg) {
- return !!method && fails(function () {
- // eslint-disable-next-line no-useless-call
- arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
- });
- };
- /***/ }),
- /***/ "2fdb":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // 21.1.3.7 String.prototype.includes(searchString, position = 0)
- var $export = __webpack_require__("5ca1");
- var context = __webpack_require__("d2c8");
- var INCLUDES = 'includes';
- $export($export.P + $export.F * __webpack_require__("5147")(INCLUDES), 'String', {
- includes: function includes(searchString /* , position = 0 */) {
- return !!~context(this, searchString, INCLUDES)
- .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /***/ "3024":
- /***/ (function(module, exports) {
- // fast apply, http://jsperf.lnkit.com/fast-apply/5
- module.exports = function (fn, args, that) {
- var un = that === undefined;
- switch (args.length) {
- case 0: return un ? fn()
- : fn.call(that);
- case 1: return un ? fn(args[0])
- : fn.call(that, args[0]);
- case 2: return un ? fn(args[0], args[1])
- : fn.call(that, args[0], args[1]);
- case 3: return un ? fn(args[0], args[1], args[2])
- : fn.call(that, args[0], args[1], args[2]);
- case 4: return un ? fn(args[0], args[1], args[2], args[3])
- : fn.call(that, args[0], args[1], args[2], args[3]);
- } return fn.apply(that, args);
- };
- /***/ }),
- /***/ "30f1":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var LIBRARY = __webpack_require__("b8e3");
- var $export = __webpack_require__("63b6");
- var redefine = __webpack_require__("9138");
- var hide = __webpack_require__("35e8");
- var Iterators = __webpack_require__("481b");
- var $iterCreate = __webpack_require__("8f60");
- var setToStringTag = __webpack_require__("45f2");
- var getPrototypeOf = __webpack_require__("53e2");
- var ITERATOR = __webpack_require__("5168")('iterator');
- var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
- var FF_ITERATOR = '@@iterator';
- var KEYS = 'keys';
- var VALUES = 'values';
- var returnThis = function () { return this; };
- module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
- $iterCreate(Constructor, NAME, next);
- var getMethod = function (kind) {
- if (!BUGGY && kind in proto) return proto[kind];
- switch (kind) {
- case KEYS: return function keys() { return new Constructor(this, kind); };
- case VALUES: return function values() { return new Constructor(this, kind); };
- } return function entries() { return new Constructor(this, kind); };
- };
- var TAG = NAME + ' Iterator';
- var DEF_VALUES = DEFAULT == VALUES;
- var VALUES_BUG = false;
- var proto = Base.prototype;
- var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
- var $default = $native || getMethod(DEFAULT);
- var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
- var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
- var methods, key, IteratorPrototype;
- // Fix native
- if ($anyNative) {
- IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
- if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
- // Set @@toStringTag to native iterators
- setToStringTag(IteratorPrototype, TAG, true);
- // fix for some old engines
- if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
- }
- }
- // fix Array#{values, @@iterator}.name in V8 / FF
- if (DEF_VALUES && $native && $native.name !== VALUES) {
- VALUES_BUG = true;
- $default = function values() { return $native.call(this); };
- }
- // Define iterator
- if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
- hide(proto, ITERATOR, $default);
- }
- // Plug for library
- Iterators[NAME] = $default;
- Iterators[TAG] = returnThis;
- if (DEFAULT) {
- methods = {
- values: DEF_VALUES ? $default : getMethod(VALUES),
- keys: IS_SET ? $default : getMethod(KEYS),
- entries: $entries
- };
- if (FORCED) for (key in methods) {
- if (!(key in proto)) redefine(proto, key, methods[key]);
- } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
- }
- return methods;
- };
- /***/ }),
- /***/ "32e9":
- /***/ (function(module, exports, __webpack_require__) {
- var dP = __webpack_require__("86cc");
- var createDesc = __webpack_require__("4630");
- module.exports = __webpack_require__("9e1e") ? function (object, key, value) {
- return dP.f(object, key, createDesc(1, value));
- } : function (object, key, value) {
- object[key] = value;
- return object;
- };
- /***/ }),
- /***/ "32fc":
- /***/ (function(module, exports, __webpack_require__) {
- var document = __webpack_require__("e53d").document;
- module.exports = document && document.documentElement;
- /***/ }),
- /***/ "335c":
- /***/ (function(module, exports, __webpack_require__) {
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
- var cof = __webpack_require__("6b4c");
- // eslint-disable-next-line no-prototype-builtins
- module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
- return cof(it) == 'String' ? it.split('') : Object(it);
- };
- /***/ }),
- /***/ "33a4":
- /***/ (function(module, exports, __webpack_require__) {
- // check on default Array iterator
- var Iterators = __webpack_require__("84f2");
- var ITERATOR = __webpack_require__("2b4c")('iterator');
- var ArrayProto = Array.prototype;
- module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
- };
- /***/ }),
- /***/ "3423":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tabs_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("107a");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tabs_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tabs_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tabs_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "35e8":
- /***/ (function(module, exports, __webpack_require__) {
- var dP = __webpack_require__("d9f6");
- var createDesc = __webpack_require__("aebd");
- module.exports = __webpack_require__("8e60") ? function (object, key, value) {
- return dP.f(object, key, createDesc(1, value));
- } : function (object, key, value) {
- object[key] = value;
- return object;
- };
- /***/ }),
- /***/ "36c3":
- /***/ (function(module, exports, __webpack_require__) {
- // to indexed object, toObject with fallback for non-array-like ES3 strings
- var IObject = __webpack_require__("335c");
- var defined = __webpack_require__("25eb");
- module.exports = function (it) {
- return IObject(defined(it));
- };
- /***/ }),
- /***/ "3702":
- /***/ (function(module, exports, __webpack_require__) {
- // check on default Array iterator
- var Iterators = __webpack_require__("481b");
- var ITERATOR = __webpack_require__("5168")('iterator');
- var ArrayProto = Array.prototype;
- module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
- };
- /***/ }),
- /***/ "3846":
- /***/ (function(module, exports, __webpack_require__) {
- // 21.2.5.3 get RegExp.prototype.flags()
- if (__webpack_require__("9e1e") && /./g.flags != 'g') __webpack_require__("86cc").f(RegExp.prototype, 'flags', {
- configurable: true,
- get: __webpack_require__("0bfb")
- });
- /***/ }),
- /***/ "38fd":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
- var has = __webpack_require__("69a8");
- var toObject = __webpack_require__("4bf8");
- var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
- var ObjectProto = Object.prototype;
- module.exports = Object.getPrototypeOf || function (O) {
- O = toObject(O);
- if (has(O, IE_PROTO)) return O[IE_PROTO];
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
- return O.constructor.prototype;
- } return O instanceof Object ? ObjectProto : null;
- };
- /***/ }),
- /***/ "3a38":
- /***/ (function(module, exports) {
- // 7.1.4 ToInteger
- var ceil = Math.ceil;
- var floor = Math.floor;
- module.exports = function (it) {
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
- };
- /***/ }),
- /***/ "3b2b":
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__("7726");
- var inheritIfRequired = __webpack_require__("5dbc");
- var dP = __webpack_require__("86cc").f;
- var gOPN = __webpack_require__("9093").f;
- var isRegExp = __webpack_require__("aae3");
- var $flags = __webpack_require__("0bfb");
- var $RegExp = global.RegExp;
- var Base = $RegExp;
- var proto = $RegExp.prototype;
- var re1 = /a/g;
- var re2 = /a/g;
- // "new" creates a new object, old webkit buggy here
- var CORRECT_NEW = new $RegExp(re1) !== re1;
- if (__webpack_require__("9e1e") && (!CORRECT_NEW || __webpack_require__("79e5")(function () {
- re2[__webpack_require__("2b4c")('match')] = false;
- // RegExp constructor can alter flags and IsRegExp works correct with @@match
- return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
- }))) {
- $RegExp = function RegExp(p, f) {
- var tiRE = this instanceof $RegExp;
- var piRE = isRegExp(p);
- var fiU = f === undefined;
- return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
- : inheritIfRequired(CORRECT_NEW
- ? new Base(piRE && !fiU ? p.source : p, f)
- : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
- , tiRE ? this : proto, $RegExp);
- };
- var proxy = function (key) {
- key in $RegExp || dP($RegExp, key, {
- configurable: true,
- get: function () { return Base[key]; },
- set: function (it) { Base[key] = it; }
- });
- };
- for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
- proto.constructor = $RegExp;
- $RegExp.prototype = proto;
- __webpack_require__("2aba")(global, 'RegExp', $RegExp);
- }
- __webpack_require__("7a56")('RegExp');
- /***/ }),
- /***/ "3c11":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-promise-finally
- var $export = __webpack_require__("63b6");
- var core = __webpack_require__("584a");
- var global = __webpack_require__("e53d");
- var speciesConstructor = __webpack_require__("f201");
- var promiseResolve = __webpack_require__("cd78");
- $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
- var C = speciesConstructor(this, core.Promise || global.Promise);
- var isFunction = typeof onFinally == 'function';
- return this.then(
- isFunction ? function (x) {
- return promiseResolve(C, onFinally()).then(function () { return x; });
- } : onFinally,
- isFunction ? function (e) {
- return promiseResolve(C, onFinally()).then(function () { throw e; });
- } : onFinally
- );
- } });
- /***/ }),
- /***/ "40c3":
- /***/ (function(module, exports, __webpack_require__) {
- // getting tag from 19.1.3.6 Object.prototype.toString()
- var cof = __webpack_require__("6b4c");
- var TAG = __webpack_require__("5168")('toStringTag');
- // ES3 wrong here
- var ARG = cof(function () { return arguments; }()) == 'Arguments';
- // fallback for IE11 Script Access Denied error
- var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (e) { /* empty */ }
- };
- module.exports = function (it) {
- var O, T, B;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
- // builtinTag case
- : ARG ? cof(O)
- // ES3 arguments fallback
- : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
- };
- /***/ }),
- /***/ "4178":
- /***/ (function(module, exports, __webpack_require__) {
- var ctx = __webpack_require__("d864");
- var invoke = __webpack_require__("3024");
- var html = __webpack_require__("32fc");
- var cel = __webpack_require__("1ec9");
- var global = __webpack_require__("e53d");
- var process = global.process;
- var setTask = global.setImmediate;
- var clearTask = global.clearImmediate;
- var MessageChannel = global.MessageChannel;
- var Dispatch = global.Dispatch;
- var counter = 0;
- var queue = {};
- var ONREADYSTATECHANGE = 'onreadystatechange';
- var defer, channel, port;
- var run = function () {
- var id = +this;
- // eslint-disable-next-line no-prototype-builtins
- if (queue.hasOwnProperty(id)) {
- var fn = queue[id];
- delete queue[id];
- fn();
- }
- };
- var listener = function (event) {
- run.call(event.data);
- };
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
- if (!setTask || !clearTask) {
- setTask = function setImmediate(fn) {
- var args = [];
- var i = 1;
- while (arguments.length > i) args.push(arguments[i++]);
- queue[++counter] = function () {
- // eslint-disable-next-line no-new-func
- invoke(typeof fn == 'function' ? fn : Function(fn), args);
- };
- defer(counter);
- return counter;
- };
- clearTask = function clearImmediate(id) {
- delete queue[id];
- };
- // Node.js 0.8-
- if (__webpack_require__("6b4c")(process) == 'process') {
- defer = function (id) {
- process.nextTick(ctx(run, id, 1));
- };
- // Sphere (JS game engine) Dispatch API
- } else if (Dispatch && Dispatch.now) {
- defer = function (id) {
- Dispatch.now(ctx(run, id, 1));
- };
- // Browsers with MessageChannel, includes WebWorkers
- } else if (MessageChannel) {
- channel = new MessageChannel();
- port = channel.port2;
- channel.port1.onmessage = listener;
- defer = ctx(port.postMessage, port, 1);
- // Browsers with postMessage, skip WebWorkers
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
- } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
- defer = function (id) {
- global.postMessage(id + '', '*');
- };
- global.addEventListener('message', listener, false);
- // IE8-
- } else if (ONREADYSTATECHANGE in cel('script')) {
- defer = function (id) {
- html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
- html.removeChild(this);
- run.call(id);
- };
- };
- // Rest old browsers
- } else {
- defer = function (id) {
- setTimeout(ctx(run, id, 1), 0);
- };
- }
- }
- module.exports = {
- set: setTask,
- clear: clearTask
- };
- /***/ }),
- /***/ "41a0":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var create = __webpack_require__("2aeb");
- var descriptor = __webpack_require__("4630");
- var setToStringTag = __webpack_require__("7f20");
- var IteratorPrototype = {};
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
- __webpack_require__("32e9")(IteratorPrototype, __webpack_require__("2b4c")('iterator'), function () { return this; });
- module.exports = function (Constructor, NAME, next) {
- Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
- setToStringTag(Constructor, NAME + ' Iterator');
- };
- /***/ }),
- /***/ "436f":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_messages_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0af2");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_messages_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_messages_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_messages_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "43fc":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-promise-try
- var $export = __webpack_require__("63b6");
- var newPromiseCapability = __webpack_require__("656e");
- var perform = __webpack_require__("4439");
- $export($export.S, 'Promise', { 'try': function (callbackfn) {
- var promiseCapability = newPromiseCapability.f(this);
- var result = perform(callbackfn);
- (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
- return promiseCapability.promise;
- } });
- /***/ }),
- /***/ "4439":
- /***/ (function(module, exports) {
- module.exports = function (exec) {
- try {
- return { e: false, v: exec() };
- } catch (e) {
- return { e: true, v: e };
- }
- };
- /***/ }),
- /***/ "454f":
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__("46a7");
- var $Object = __webpack_require__("584a").Object;
- module.exports = function defineProperty(it, key, desc) {
- return $Object.defineProperty(it, key, desc);
- };
- /***/ }),
- /***/ "456d":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.14 Object.keys(O)
- var toObject = __webpack_require__("4bf8");
- var $keys = __webpack_require__("0d58");
- __webpack_require__("5eda")('keys', function () {
- return function keys(it) {
- return $keys(toObject(it));
- };
- });
- /***/ }),
- /***/ "4588":
- /***/ (function(module, exports) {
- // 7.1.4 ToInteger
- var ceil = Math.ceil;
- var floor = Math.floor;
- module.exports = function (it) {
- return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
- };
- /***/ }),
- /***/ "45f2":
- /***/ (function(module, exports, __webpack_require__) {
- var def = __webpack_require__("d9f6").f;
- var has = __webpack_require__("07e3");
- var TAG = __webpack_require__("5168")('toStringTag');
- module.exports = function (it, tag, stat) {
- if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
- };
- /***/ }),
- /***/ "4630":
- /***/ (function(module, exports) {
- module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
- };
- /***/ }),
- /***/ "46a7":
- /***/ (function(module, exports, __webpack_require__) {
- var $export = __webpack_require__("63b6");
- // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
- $export($export.S + $export.F * !__webpack_require__("8e60"), 'Object', { defineProperty: __webpack_require__("d9f6").f });
- /***/ }),
- /***/ "481b":
- /***/ (function(module, exports) {
- module.exports = {};
- /***/ }),
- /***/ "49c2":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_editor_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("acce");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_editor_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_editor_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_editor_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "4bf8":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.1.13 ToObject(argument)
- var defined = __webpack_require__("be13");
- module.exports = function (it) {
- return Object(defined(it));
- };
- /***/ }),
- /***/ "4c95":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__("e53d");
- var core = __webpack_require__("584a");
- var dP = __webpack_require__("d9f6");
- var DESCRIPTORS = __webpack_require__("8e60");
- var SPECIES = __webpack_require__("5168")('species');
- module.exports = function (KEY) {
- var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY];
- if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
- configurable: true,
- get: function () { return this; }
- });
- };
- /***/ }),
- /***/ "4d21":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_image_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("917b");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_image_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_image_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_image_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "4ee1":
- /***/ (function(module, exports, __webpack_require__) {
- var ITERATOR = __webpack_require__("5168")('iterator');
- var SAFE_CLOSING = false;
- try {
- var riter = [7][ITERATOR]();
- riter['return'] = function () { SAFE_CLOSING = true; };
- // eslint-disable-next-line no-throw-literal
- Array.from(riter, function () { throw 2; });
- } catch (e) { /* empty */ }
- module.exports = function (exec, skipClosing) {
- if (!skipClosing && !SAFE_CLOSING) return false;
- var safe = false;
- try {
- var arr = [7];
- var iter = arr[ITERATOR]();
- iter.next = function () { return { done: safe = true }; };
- arr[ITERATOR] = function () { return iter; };
- exec(arr);
- } catch (e) { /* empty */ }
- return safe;
- };
- /***/ }),
- /***/ "504c":
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__("9e1e");
- var getKeys = __webpack_require__("0d58");
- var toIObject = __webpack_require__("6821");
- var isEnum = __webpack_require__("52a7").f;
- module.exports = function (isEntries) {
- return function (it) {
- var O = toIObject(it);
- var keys = getKeys(O);
- var length = keys.length;
- var i = 0;
- var result = [];
- var key;
- while (length > i) {
- key = keys[i++];
- if (!DESCRIPTORS || isEnum.call(O, key)) {
- result.push(isEntries ? [key, O[key]] : O[key]);
- }
- }
- return result;
- };
- };
- /***/ }),
- /***/ "50ed":
- /***/ (function(module, exports) {
- module.exports = function (done, value) {
- return { value: value, done: !!done };
- };
- /***/ }),
- /***/ "5147":
- /***/ (function(module, exports, __webpack_require__) {
- var MATCH = __webpack_require__("2b4c")('match');
- module.exports = function (KEY) {
- var re = /./;
- try {
- '/./'[KEY](re);
- } catch (e) {
- try {
- re[MATCH] = false;
- return !'/./'[KEY](re);
- } catch (f) { /* empty */ }
- } return true;
- };
- /***/ }),
- /***/ "5168":
- /***/ (function(module, exports, __webpack_require__) {
- var store = __webpack_require__("dbdb")('wks');
- var uid = __webpack_require__("62a0");
- var Symbol = __webpack_require__("e53d").Symbol;
- var USE_SYMBOL = typeof Symbol == 'function';
- var $exports = module.exports = function (name) {
- return store[name] || (store[name] =
- USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
- };
- $exports.store = store;
- /***/ }),
- /***/ "520a":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var regexpFlags = __webpack_require__("0bfb");
- var nativeExec = RegExp.prototype.exec;
- // This always refers to the native implementation, because the
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
- // which loads this file before patching the method.
- var nativeReplace = String.prototype.replace;
- var patchedExec = nativeExec;
- var LAST_INDEX = 'lastIndex';
- var UPDATES_LAST_INDEX_WRONG = (function () {
- var re1 = /a/,
- re2 = /b*/g;
- nativeExec.call(re1, 'a');
- nativeExec.call(re2, 'a');
- return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
- })();
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
- if (PATCH) {
- patchedExec = function exec(str) {
- var re = this;
- var lastIndex, reCopy, match, i;
- if (NPCG_INCLUDED) {
- reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
- }
- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
- match = nativeExec.call(re, str);
- if (UPDATES_LAST_INDEX_WRONG && match) {
- re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
- }
- if (NPCG_INCLUDED && match && match.length > 1) {
- // Fix browsers whose `exec` methods don't consistently return `undefined`
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
- // eslint-disable-next-line no-loop-func
- nativeReplace.call(match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
- if (arguments[i] === undefined) match[i] = undefined;
- }
- });
- }
- return match;
- };
- }
- module.exports = patchedExec;
- /***/ }),
- /***/ "52a7":
- /***/ (function(module, exports) {
- exports.f = {}.propertyIsEnumerable;
- /***/ }),
- /***/ "53e2":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
- var has = __webpack_require__("07e3");
- var toObject = __webpack_require__("241e");
- var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
- var ObjectProto = Object.prototype;
- module.exports = Object.getPrototypeOf || function (O) {
- O = toObject(O);
- if (has(O, IE_PROTO)) return O[IE_PROTO];
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
- return O.constructor.prototype;
- } return O instanceof Object ? ObjectProto : null;
- };
- /***/ }),
- /***/ "549b":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ctx = __webpack_require__("d864");
- var $export = __webpack_require__("63b6");
- var toObject = __webpack_require__("241e");
- var call = __webpack_require__("b0dc");
- var isArrayIter = __webpack_require__("3702");
- var toLength = __webpack_require__("b447");
- var createProperty = __webpack_require__("20fd");
- var getIterFn = __webpack_require__("7cd6");
- $export($export.S + $export.F * !__webpack_require__("4ee1")(function (iter) { Array.from(iter); }), 'Array', {
- // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
- from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
- var O = toObject(arrayLike);
- var C = typeof this == 'function' ? this : Array;
- var aLen = arguments.length;
- var mapfn = aLen > 1 ? arguments[1] : undefined;
- var mapping = mapfn !== undefined;
- var index = 0;
- var iterFn = getIterFn(O);
- var length, result, step, iterator;
- if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
- // if object isn't iterable or it's array with default iterator - use simple case
- if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
- for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
- createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
- }
- } else {
- length = toLength(O.length);
- for (result = new C(length); length > index; index++) {
- createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
- }
- }
- result.length = index;
- return result;
- }
- });
- /***/ }),
- /***/ "54a1":
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__("6c1c");
- __webpack_require__("1654");
- module.exports = __webpack_require__("95d5");
- /***/ }),
- /***/ "5537":
- /***/ (function(module, exports, __webpack_require__) {
- var core = __webpack_require__("8378");
- var global = __webpack_require__("7726");
- var SHARED = '__core-js_shared__';
- var store = global[SHARED] || (global[SHARED] = {});
- (module.exports = function (key, value) {
- return store[key] || (store[key] = value !== undefined ? value : {});
- })('versions', []).push({
- version: core.version,
- mode: __webpack_require__("2d00") ? 'pure' : 'global',
- copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
- });
- /***/ }),
- /***/ "5559":
- /***/ (function(module, exports, __webpack_require__) {
- var shared = __webpack_require__("dbdb")('keys');
- var uid = __webpack_require__("62a0");
- module.exports = function (key) {
- return shared[key] || (shared[key] = uid(key));
- };
- /***/ }),
- /***/ "55dd":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $export = __webpack_require__("5ca1");
- var aFunction = __webpack_require__("d8e8");
- var toObject = __webpack_require__("4bf8");
- var fails = __webpack_require__("79e5");
- var $sort = [].sort;
- var test = [1, 2, 3];
- $export($export.P + $export.F * (fails(function () {
- // IE8-
- test.sort(undefined);
- }) || !fails(function () {
- // V8 bug
- test.sort(null);
- // Old WebKit
- }) || !__webpack_require__("2f21")($sort)), 'Array', {
- // 22.1.3.25 Array.prototype.sort(comparefn)
- sort: function sort(comparefn) {
- return comparefn === undefined
- ? $sort.call(toObject(this))
- : $sort.call(toObject(this), aFunction(comparefn));
- }
- });
- /***/ }),
- /***/ "584a":
- /***/ (function(module, exports) {
- var core = module.exports = { version: '2.6.9' };
- if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
- /***/ }),
- /***/ "5b4e":
- /***/ (function(module, exports, __webpack_require__) {
- // false -> Array#indexOf
- // true -> Array#includes
- var toIObject = __webpack_require__("36c3");
- var toLength = __webpack_require__("b447");
- var toAbsoluteIndex = __webpack_require__("0fc9");
- module.exports = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIObject($this);
- var length = toLength(O.length);
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare
- if (IS_INCLUDES && el != el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare
- if (value != value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
- if (O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
- };
- /***/ }),
- /***/ "5c95":
- /***/ (function(module, exports, __webpack_require__) {
- var hide = __webpack_require__("35e8");
- module.exports = function (target, src, safe) {
- for (var key in src) {
- if (safe && target[key]) target[key] = src[key];
- else hide(target, key, src[key]);
- } return target;
- };
- /***/ }),
- /***/ "5ca1":
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__("7726");
- var core = __webpack_require__("8378");
- var hide = __webpack_require__("32e9");
- var redefine = __webpack_require__("2aba");
- var ctx = __webpack_require__("9b43");
- var PROTOTYPE = 'prototype';
- var $export = function (type, name, source) {
- var IS_FORCED = type & $export.F;
- var IS_GLOBAL = type & $export.G;
- var IS_STATIC = type & $export.S;
- var IS_PROTO = type & $export.P;
- var IS_BIND = type & $export.B;
- var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
- var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
- var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
- var key, own, out, exp;
- if (IS_GLOBAL) source = name;
- for (key in source) {
- // contains in native
- own = !IS_FORCED && target && target[key] !== undefined;
- // export native or passed
- out = (own ? target : source)[key];
- // bind timers to global for call from export context
- exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
- // extend global
- if (target) redefine(target, key, out, type & $export.U);
- // export
- if (exports[key] != out) hide(exports, key, exp);
- if (IS_PROTO && expProto[key] != out) expProto[key] = out;
- }
- };
- global.core = core;
- // type bitmap
- $export.F = 1; // forced
- $export.G = 2; // global
- $export.S = 4; // static
- $export.P = 8; // proto
- $export.B = 16; // bind
- $export.W = 32; // wrap
- $export.U = 64; // safe
- $export.R = 128; // real proto method for `library`
- module.exports = $export;
- /***/ }),
- /***/ "5cc5":
- /***/ (function(module, exports, __webpack_require__) {
- var ITERATOR = __webpack_require__("2b4c")('iterator');
- var SAFE_CLOSING = false;
- try {
- var riter = [7][ITERATOR]();
- riter['return'] = function () { SAFE_CLOSING = true; };
- // eslint-disable-next-line no-throw-literal
- Array.from(riter, function () { throw 2; });
- } catch (e) { /* empty */ }
- module.exports = function (exec, skipClosing) {
- if (!skipClosing && !SAFE_CLOSING) return false;
- var safe = false;
- try {
- var arr = [7];
- var iter = arr[ITERATOR]();
- iter.next = function () { return { done: safe = true }; };
- arr[ITERATOR] = function () { return iter; };
- exec(arr);
- } catch (e) { /* empty */ }
- return safe;
- };
- /***/ }),
- /***/ "5dbc":
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__("d3f4");
- var setPrototypeOf = __webpack_require__("8b97").set;
- module.exports = function (that, target, C) {
- var S = target.constructor;
- var P;
- if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
- setPrototypeOf(that, P);
- } return that;
- };
- /***/ }),
- /***/ "5df3":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $at = __webpack_require__("02f4")(true);
- // 21.1.3.27 String.prototype[@@iterator]()
- __webpack_require__("01f9")(String, 'String', function (iterated) {
- this._t = String(iterated); // target
- this._i = 0; // next index
- // 21.1.5.2.1 %StringIteratorPrototype%.next()
- }, function () {
- var O = this._t;
- var index = this._i;
- var point;
- if (index >= O.length) return { value: undefined, done: true };
- point = $at(O, index);
- this._i += point.length;
- return { value: point, done: false };
- });
- /***/ }),
- /***/ "5eda":
- /***/ (function(module, exports, __webpack_require__) {
- // most Object methods by ES6 should accept primitives
- var $export = __webpack_require__("5ca1");
- var core = __webpack_require__("8378");
- var fails = __webpack_require__("79e5");
- module.exports = function (KEY, exec) {
- var fn = (core.Object || {})[KEY] || Object[KEY];
- var exp = {};
- exp[KEY] = exec(fn);
- $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
- };
- /***/ }),
- /***/ "5f1b":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var classof = __webpack_require__("23c6");
- var builtinExec = RegExp.prototype.exec;
- // `RegExpExec` abstract operation
- // https://tc39.github.io/ecma262/#sec-regexpexec
- module.exports = function (R, S) {
- var exec = R.exec;
- if (typeof exec === 'function') {
- var result = exec.call(R, S);
- if (typeof result !== 'object') {
- throw new TypeError('RegExp exec method returned something other than an Object or null');
- }
- return result;
- }
- if (classof(R) !== 'RegExp') {
- throw new TypeError('RegExp#exec called on incompatible receiver');
- }
- return builtinExec.call(R, S);
- };
- /***/ }),
- /***/ "613b":
- /***/ (function(module, exports, __webpack_require__) {
- var shared = __webpack_require__("5537")('keys');
- var uid = __webpack_require__("ca5a");
- module.exports = function (key) {
- return shared[key] || (shared[key] = uid(key));
- };
- /***/ }),
- /***/ "626a":
- /***/ (function(module, exports, __webpack_require__) {
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
- var cof = __webpack_require__("2d95");
- // eslint-disable-next-line no-prototype-builtins
- module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
- return cof(it) == 'String' ? it.split('') : Object(it);
- };
- /***/ }),
- /***/ "62a0":
- /***/ (function(module, exports) {
- var id = 0;
- var px = Math.random();
- module.exports = function (key) {
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
- };
- /***/ }),
- /***/ "63b6":
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__("e53d");
- var core = __webpack_require__("584a");
- var ctx = __webpack_require__("d864");
- var hide = __webpack_require__("35e8");
- var has = __webpack_require__("07e3");
- var PROTOTYPE = 'prototype';
- var $export = function (type, name, source) {
- var IS_FORCED = type & $export.F;
- var IS_GLOBAL = type & $export.G;
- var IS_STATIC = type & $export.S;
- var IS_PROTO = type & $export.P;
- var IS_BIND = type & $export.B;
- var IS_WRAP = type & $export.W;
- var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
- var expProto = exports[PROTOTYPE];
- var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
- var key, own, out;
- if (IS_GLOBAL) source = name;
- for (key in source) {
- // contains in native
- own = !IS_FORCED && target && target[key] !== undefined;
- if (own && has(exports, key)) continue;
- // export native or passed
- out = own ? target[key] : source[key];
- // prevent global pollution for namespaces
- exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
- // bind timers to global for call from export context
- : IS_BIND && own ? ctx(out, global)
- // wrap global constructors for prevent change them in library
- : IS_WRAP && target[key] == out ? (function (C) {
- var F = function (a, b, c) {
- if (this instanceof C) {
- switch (arguments.length) {
- case 0: return new C();
- case 1: return new C(a);
- case 2: return new C(a, b);
- } return new C(a, b, c);
- } return C.apply(this, arguments);
- };
- F[PROTOTYPE] = C[PROTOTYPE];
- return F;
- // make static versions for prototype methods
- })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
- // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
- if (IS_PROTO) {
- (exports.virtual || (exports.virtual = {}))[key] = out;
- // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
- if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
- }
- }
- };
- // type bitmap
- $export.F = 1; // forced
- $export.G = 2; // global
- $export.S = 4; // static
- $export.P = 8; // proto
- $export.B = 16; // bind
- $export.W = 32; // wrap
- $export.U = 64; // safe
- $export.R = 128; // real proto method for `library`
- module.exports = $export;
- /***/ }),
- /***/ "656e":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // 25.4.1.5 NewPromiseCapability(C)
- var aFunction = __webpack_require__("79aa");
- function PromiseCapability(C) {
- var resolve, reject;
- this.promise = new C(function ($$resolve, $$reject) {
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aFunction(resolve);
- this.reject = aFunction(reject);
- }
- module.exports.f = function (C) {
- return new PromiseCapability(C);
- };
- /***/ }),
- /***/ "6762":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/Array.prototype.includes
- var $export = __webpack_require__("5ca1");
- var $includes = __webpack_require__("c366")(true);
- $export($export.P, 'Array', {
- includes: function includes(el /* , fromIndex = 0 */) {
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- __webpack_require__("9c6c")('includes');
- /***/ }),
- /***/ "6821":
- /***/ (function(module, exports, __webpack_require__) {
- // to indexed object, toObject with fallback for non-array-like ES3 strings
- var IObject = __webpack_require__("626a");
- var defined = __webpack_require__("be13");
- module.exports = function (it) {
- return IObject(defined(it));
- };
- /***/ }),
- /***/ "696e":
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__("c207");
- __webpack_require__("1654");
- __webpack_require__("6c1c");
- __webpack_require__("24c5");
- __webpack_require__("3c11");
- __webpack_require__("43fc");
- module.exports = __webpack_require__("584a").Promise;
- /***/ }),
- /***/ "69a8":
- /***/ (function(module, exports) {
- var hasOwnProperty = {}.hasOwnProperty;
- module.exports = function (it, key) {
- return hasOwnProperty.call(it, key);
- };
- /***/ }),
- /***/ "6a2b":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "6a99":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.1.1 ToPrimitive(input [, PreferredType])
- var isObject = __webpack_require__("d3f4");
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
- // and the second argument - flag - preferred type is a string
- module.exports = function (it, S) {
- if (!isObject(it)) return it;
- var fn, val;
- if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
- if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
- if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
- throw TypeError("Can't convert object to primitive value");
- };
- /***/ }),
- /***/ "6b4c":
- /***/ (function(module, exports) {
- var toString = {}.toString;
- module.exports = function (it) {
- return toString.call(it).slice(8, -1);
- };
- /***/ }),
- /***/ "6b54":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- __webpack_require__("3846");
- var anObject = __webpack_require__("cb7c");
- var $flags = __webpack_require__("0bfb");
- var DESCRIPTORS = __webpack_require__("9e1e");
- var TO_STRING = 'toString';
- var $toString = /./[TO_STRING];
- var define = function (fn) {
- __webpack_require__("2aba")(RegExp.prototype, TO_STRING, fn, true);
- };
- // 21.2.5.14 RegExp.prototype.toString()
- if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
- define(function toString() {
- var R = anObject(this);
- return '/'.concat(R.source, '/',
- 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
- });
- // FF44- RegExp#toString has a wrong name
- } else if ($toString.name != TO_STRING) {
- define(function toString() {
- return $toString.call(this);
- });
- }
- /***/ }),
- /***/ "6c1c":
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__("c367");
- var global = __webpack_require__("e53d");
- var hide = __webpack_require__("35e8");
- var Iterators = __webpack_require__("481b");
- var TO_STRING_TAG = __webpack_require__("5168")('toStringTag');
- var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
- 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
- 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
- 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
- 'TextTrackList,TouchList').split(',');
- for (var i = 0; i < DOMIterables.length; i++) {
- var NAME = DOMIterables[i];
- var Collection = global[NAME];
- var proto = Collection && Collection.prototype;
- if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
- Iterators[NAME] = Iterators.Array;
- }
- /***/ }),
- /***/ "6da9":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "71c1":
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__("3a38");
- var defined = __webpack_require__("25eb");
- // true -> String#at
- // false -> String#codePointAt
- module.exports = function (TO_STRING) {
- return function (that, pos) {
- var s = String(defined(that));
- var i = toInteger(pos);
- var l = s.length;
- var a, b;
- if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
- a = s.charCodeAt(i);
- return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
- ? TO_STRING ? s.charAt(i) : a
- : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
- };
- };
- /***/ }),
- /***/ "7514":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
- var $export = __webpack_require__("5ca1");
- var $find = __webpack_require__("0a49")(5);
- var KEY = 'find';
- var forced = true;
- // Shouldn't skip holes
- if (KEY in []) Array(1)[KEY](function () { forced = false; });
- $export($export.P + $export.F * forced, 'Array', {
- find: function find(callbackfn /* , that = undefined */) {
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- __webpack_require__("9c6c")(KEY);
- /***/ }),
- /***/ "7726":
- /***/ (function(module, exports) {
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
- ? window : typeof self != 'undefined' && self.Math == Math ? self
- // eslint-disable-next-line no-new-func
- : Function('return this')();
- if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
- /***/ }),
- /***/ "774e":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("d2d5");
- /***/ }),
- /***/ "77f1":
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__("4588");
- var max = Math.max;
- var min = Math.min;
- module.exports = function (index, length) {
- index = toInteger(index);
- return index < 0 ? max(index + length, 0) : min(index, length);
- };
- /***/ }),
- /***/ "7802":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "794b":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = !__webpack_require__("8e60") && !__webpack_require__("294c")(function () {
- return Object.defineProperty(__webpack_require__("1ec9")('div'), 'a', { get: function () { return 7; } }).a != 7;
- });
- /***/ }),
- /***/ "795b":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("696e");
- /***/ }),
- /***/ "79aa":
- /***/ (function(module, exports) {
- module.exports = function (it) {
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
- return it;
- };
- /***/ }),
- /***/ "79e5":
- /***/ (function(module, exports) {
- module.exports = function (exec) {
- try {
- return !!exec();
- } catch (e) {
- return true;
- }
- };
- /***/ }),
- /***/ "7a56":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__("7726");
- var dP = __webpack_require__("86cc");
- var DESCRIPTORS = __webpack_require__("9e1e");
- var SPECIES = __webpack_require__("2b4c")('species');
- module.exports = function (KEY) {
- var C = global[KEY];
- if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
- configurable: true,
- get: function () { return this; }
- });
- };
- /***/ }),
- /***/ "7cd6":
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__("40c3");
- var ITERATOR = __webpack_require__("5168")('iterator');
- var Iterators = __webpack_require__("481b");
- module.exports = __webpack_require__("584a").getIteratorMethod = function (it) {
- if (it != undefined) return it[ITERATOR]
- || it['@@iterator']
- || Iterators[classof(it)];
- };
- /***/ }),
- /***/ "7e90":
- /***/ (function(module, exports, __webpack_require__) {
- var dP = __webpack_require__("d9f6");
- var anObject = __webpack_require__("e4ae");
- var getKeys = __webpack_require__("c3a1");
- module.exports = __webpack_require__("8e60") ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var keys = getKeys(Properties);
- var length = keys.length;
- var i = 0;
- var P;
- while (length > i) dP.f(O, P = keys[i++], Properties[P]);
- return O;
- };
- /***/ }),
- /***/ "7f20":
- /***/ (function(module, exports, __webpack_require__) {
- var def = __webpack_require__("86cc").f;
- var has = __webpack_require__("69a8");
- var TAG = __webpack_require__("2b4c")('toStringTag');
- module.exports = function (it, tag, stat) {
- if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
- };
- /***/ }),
- /***/ "7f7f":
- /***/ (function(module, exports, __webpack_require__) {
- var dP = __webpack_require__("86cc").f;
- var FProto = Function.prototype;
- var nameRE = /^\s*function ([^ (]*)/;
- var NAME = 'name';
- // 19.2.4.2 name
- NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, {
- configurable: true,
- get: function () {
- try {
- return ('' + this).match(nameRE)[1];
- } catch (e) {
- return '';
- }
- }
- });
- /***/ }),
- /***/ "820e":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "8378":
- /***/ (function(module, exports) {
- var core = module.exports = { version: '2.6.9' };
- if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
- /***/ }),
- /***/ "83d7":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "8436":
- /***/ (function(module, exports) {
- module.exports = function () { /* empty */ };
- /***/ }),
- /***/ "84f2":
- /***/ (function(module, exports) {
- module.exports = {};
- /***/ }),
- /***/ "85f2":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("454f");
- /***/ }),
- /***/ "8615":
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/tc39/proposal-object-values-entries
- var $export = __webpack_require__("5ca1");
- var $values = __webpack_require__("504c")(false);
- $export($export.S, 'Object', {
- values: function values(it) {
- return $values(it);
- }
- });
- /***/ }),
- /***/ "86cc":
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__("cb7c");
- var IE8_DOM_DEFINE = __webpack_require__("c69a");
- var toPrimitive = __webpack_require__("6a99");
- var dP = Object.defineProperty;
- exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPrimitive(P, true);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return dP(O, P, Attributes);
- } catch (e) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
- };
- /***/ }),
- /***/ "8b97":
- /***/ (function(module, exports, __webpack_require__) {
- // Works with __proto__ only. Old v8 can't work with null proto objects.
- /* eslint-disable no-proto */
- var isObject = __webpack_require__("d3f4");
- var anObject = __webpack_require__("cb7c");
- var check = function (O, proto) {
- anObject(O);
- if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
- };
- module.exports = {
- set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
- function (test, buggy, set) {
- try {
- set = __webpack_require__("9b43")(Function.call, __webpack_require__("11e9").f(Object.prototype, '__proto__').set, 2);
- set(test, []);
- buggy = !(test instanceof Array);
- } catch (e) { buggy = true; }
- return function setPrototypeOf(O, proto) {
- check(O, proto);
- if (buggy) O.__proto__ = proto;
- else set(O, proto);
- return O;
- };
- }({}, false) : undefined),
- check: check
- };
- /***/ }),
- /***/ "8e60":
- /***/ (function(module, exports, __webpack_require__) {
- // Thank's IE8 for his funny defineProperty
- module.exports = !__webpack_require__("294c")(function () {
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
- });
- /***/ }),
- /***/ "8e6e":
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/tc39/proposal-object-getownpropertydescriptors
- var $export = __webpack_require__("5ca1");
- var ownKeys = __webpack_require__("990b");
- var toIObject = __webpack_require__("6821");
- var gOPD = __webpack_require__("11e9");
- var createProperty = __webpack_require__("f1ae");
- $export($export.S, 'Object', {
- getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
- var O = toIObject(object);
- var getDesc = gOPD.f;
- var keys = ownKeys(O);
- var result = {};
- var i = 0;
- var key, desc;
- while (keys.length > i) {
- desc = getDesc(O, key = keys[i++]);
- if (desc !== undefined) createProperty(result, key, desc);
- }
- return result;
- }
- });
- /***/ }),
- /***/ "8f60":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var create = __webpack_require__("a159");
- var descriptor = __webpack_require__("aebd");
- var setToStringTag = __webpack_require__("45f2");
- var IteratorPrototype = {};
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
- __webpack_require__("35e8")(IteratorPrototype, __webpack_require__("5168")('iterator'), function () { return this; });
- module.exports = function (Constructor, NAME, next) {
- Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
- setToStringTag(Constructor, NAME + ' Iterator');
- };
- /***/ }),
- /***/ "9003":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.2.2 IsArray(argument)
- var cof = __webpack_require__("6b4c");
- module.exports = Array.isArray || function isArray(arg) {
- return cof(arg) == 'Array';
- };
- /***/ }),
- /***/ "9093":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
- var $keys = __webpack_require__("ce10");
- var hiddenKeys = __webpack_require__("e11e").concat('length', 'prototype');
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return $keys(O, hiddenKeys);
- };
- /***/ }),
- /***/ "909e":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_contact_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1021");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_contact_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_contact_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_contact_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "9138":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("35e8");
- /***/ }),
- /***/ "917b":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "95d5":
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__("40c3");
- var ITERATOR = __webpack_require__("5168")('iterator');
- var Iterators = __webpack_require__("481b");
- module.exports = __webpack_require__("584a").isIterable = function (it) {
- var O = Object(it);
- return O[ITERATOR] !== undefined
- || '@@iterator' in O
- // eslint-disable-next-line no-prototype-builtins
- || Iterators.hasOwnProperty(classof(O));
- };
- /***/ }),
- /***/ "96cf":
- /***/ (function(module, exports, __webpack_require__) {
- /**
- * Copyright (c) 2014-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
- var runtime = (function (exports) {
- "use strict";
- var Op = Object.prototype;
- var hasOwn = Op.hasOwnProperty;
- var undefined; // More compressible than void 0.
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
- function wrap(innerFn, outerFn, self, tryLocsList) {
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
- var generator = Object.create(protoGenerator.prototype);
- var context = new Context(tryLocsList || []);
- // The ._invoke method unifies the implementations of the .next,
- // .throw, and .return methods.
- generator._invoke = makeInvokeMethod(innerFn, self, context);
- return generator;
- }
- exports.wrap = wrap;
- // Try/catch helper to minimize deoptimizations. Returns a completion
- // record like context.tryEntries[i].completion. This interface could
- // have been (and was previously) designed to take a closure to be
- // invoked without arguments, but in all the cases we care about we
- // already have an existing method we want to call, so there's no need
- // to create a new function object. We can even get away with assuming
- // the method takes exactly one argument, since that happens to be true
- // in every case, so we don't have to touch the arguments object. The
- // only additional allocation required is the completion record, which
- // has a stable shape and so hopefully should be cheap to allocate.
- function tryCatch(fn, obj, arg) {
- try {
- return { type: "normal", arg: fn.call(obj, arg) };
- } catch (err) {
- return { type: "throw", arg: err };
- }
- }
- var GenStateSuspendedStart = "suspendedStart";
- var GenStateSuspendedYield = "suspendedYield";
- var GenStateExecuting = "executing";
- var GenStateCompleted = "completed";
- // Returning this object from the innerFn has the same effect as
- // breaking out of the dispatch switch statement.
- var ContinueSentinel = {};
- // Dummy constructor functions that we use as the .constructor and
- // .constructor.prototype properties for functions that return Generator
- // objects. For full spec compliance, you may wish to configure your
- // minifier not to mangle the names of these two functions.
- function Generator() {}
- function GeneratorFunction() {}
- function GeneratorFunctionPrototype() {}
- // This is a polyfill for %IteratorPrototype% for environments that
- // don't natively support it.
- var IteratorPrototype = {};
- IteratorPrototype[iteratorSymbol] = function () {
- return this;
- };
- var getProto = Object.getPrototypeOf;
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
- if (NativeIteratorPrototype &&
- NativeIteratorPrototype !== Op &&
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
- // This environment has a native %IteratorPrototype%; use it instead
- // of the polyfill.
- IteratorPrototype = NativeIteratorPrototype;
- }
- var Gp = GeneratorFunctionPrototype.prototype =
- Generator.prototype = Object.create(IteratorPrototype);
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
- GeneratorFunctionPrototype[toStringTagSymbol] =
- GeneratorFunction.displayName = "GeneratorFunction";
- // Helper for defining the .next, .throw, and .return methods of the
- // Iterator interface in terms of a single ._invoke method.
- function defineIteratorMethods(prototype) {
- ["next", "throw", "return"].forEach(function(method) {
- prototype[method] = function(arg) {
- return this._invoke(method, arg);
- };
- });
- }
- exports.isGeneratorFunction = function(genFun) {
- var ctor = typeof genFun === "function" && genFun.constructor;
- return ctor
- ? ctor === GeneratorFunction ||
- // For the native GeneratorFunction constructor, the best we can
- // do is to check its .name property.
- (ctor.displayName || ctor.name) === "GeneratorFunction"
- : false;
- };
- exports.mark = function(genFun) {
- if (Object.setPrototypeOf) {
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
- } else {
- genFun.__proto__ = GeneratorFunctionPrototype;
- if (!(toStringTagSymbol in genFun)) {
- genFun[toStringTagSymbol] = "GeneratorFunction";
- }
- }
- genFun.prototype = Object.create(Gp);
- return genFun;
- };
- // Within the body of any async function, `await x` is transformed to
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
- // meant to be awaited.
- exports.awrap = function(arg) {
- return { __await: arg };
- };
- function AsyncIterator(generator) {
- function invoke(method, arg, resolve, reject) {
- var record = tryCatch(generator[method], generator, arg);
- if (record.type === "throw") {
- reject(record.arg);
- } else {
- var result = record.arg;
- var value = result.value;
- if (value &&
- typeof value === "object" &&
- hasOwn.call(value, "__await")) {
- return Promise.resolve(value.__await).then(function(value) {
- invoke("next", value, resolve, reject);
- }, function(err) {
- invoke("throw", err, resolve, reject);
- });
- }
- return Promise.resolve(value).then(function(unwrapped) {
- // When a yielded Promise is resolved, its final value becomes
- // the .value of the Promise<{value,done}> result for the
- // current iteration.
- result.value = unwrapped;
- resolve(result);
- }, function(error) {
- // If a rejected Promise was yielded, throw the rejection back
- // into the async generator function so it can be handled there.
- return invoke("throw", error, resolve, reject);
- });
- }
- }
- var previousPromise;
- function enqueue(method, arg) {
- function callInvokeWithMethodAndArg() {
- return new Promise(function(resolve, reject) {
- invoke(method, arg, resolve, reject);
- });
- }
- return previousPromise =
- // If enqueue has been called before, then we want to wait until
- // all previous Promises have been resolved before calling invoke,
- // so that results are always delivered in the correct order. If
- // enqueue has not been called before, then it is important to
- // call invoke immediately, without waiting on a callback to fire,
- // so that the async generator function has the opportunity to do
- // any necessary setup in a predictable way. This predictability
- // is why the Promise constructor synchronously invokes its
- // executor callback, and why async functions synchronously
- // execute code before the first await. Since we implement simple
- // async functions in terms of async generators, it is especially
- // important to get this right, even though it requires care.
- previousPromise ? previousPromise.then(
- callInvokeWithMethodAndArg,
- // Avoid propagating failures to Promises returned by later
- // invocations of the iterator.
- callInvokeWithMethodAndArg
- ) : callInvokeWithMethodAndArg();
- }
- // Define the unified helper method that is used to implement .next,
- // .throw, and .return (see defineIteratorMethods).
- this._invoke = enqueue;
- }
- defineIteratorMethods(AsyncIterator.prototype);
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
- return this;
- };
- exports.AsyncIterator = AsyncIterator;
- // Note that simple async functions are implemented on top of
- // AsyncIterator objects; they just return a Promise for the value of
- // the final result produced by the iterator.
- exports.async = function(innerFn, outerFn, self, tryLocsList) {
- var iter = new AsyncIterator(
- wrap(innerFn, outerFn, self, tryLocsList)
- );
- return exports.isGeneratorFunction(outerFn)
- ? iter // If outerFn is a generator, return the full iterator.
- : iter.next().then(function(result) {
- return result.done ? result.value : iter.next();
- });
- };
- function makeInvokeMethod(innerFn, self, context) {
- var state = GenStateSuspendedStart;
- return function invoke(method, arg) {
- if (state === GenStateExecuting) {
- throw new Error("Generator is already running");
- }
- if (state === GenStateCompleted) {
- if (method === "throw") {
- throw arg;
- }
- // Be forgiving, per 25.3.3.3.3 of the spec:
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
- return doneResult();
- }
- context.method = method;
- context.arg = arg;
- while (true) {
- var delegate = context.delegate;
- if (delegate) {
- var delegateResult = maybeInvokeDelegate(delegate, context);
- if (delegateResult) {
- if (delegateResult === ContinueSentinel) continue;
- return delegateResult;
- }
- }
- if (context.method === "next") {
- // Setting context._sent for legacy support of Babel's
- // function.sent implementation.
- context.sent = context._sent = context.arg;
- } else if (context.method === "throw") {
- if (state === GenStateSuspendedStart) {
- state = GenStateCompleted;
- throw context.arg;
- }
- context.dispatchException(context.arg);
- } else if (context.method === "return") {
- context.abrupt("return", context.arg);
- }
- state = GenStateExecuting;
- var record = tryCatch(innerFn, self, context);
- if (record.type === "normal") {
- // If an exception is thrown from innerFn, we leave state ===
- // GenStateExecuting and loop back for another invocation.
- state = context.done
- ? GenStateCompleted
- : GenStateSuspendedYield;
- if (record.arg === ContinueSentinel) {
- continue;
- }
- return {
- value: record.arg,
- done: context.done
- };
- } else if (record.type === "throw") {
- state = GenStateCompleted;
- // Dispatch the exception by looping back around to the
- // context.dispatchException(context.arg) call above.
- context.method = "throw";
- context.arg = record.arg;
- }
- }
- };
- }
- // Call delegate.iterator[context.method](context.arg) and handle the
- // result, either by returning a { value, done } result from the
- // delegate iterator, or by modifying context.method and context.arg,
- // setting context.delegate to null, and returning the ContinueSentinel.
- function maybeInvokeDelegate(delegate, context) {
- var method = delegate.iterator[context.method];
- if (method === undefined) {
- // A .throw or .return when the delegate iterator has no .throw
- // method always terminates the yield* loop.
- context.delegate = null;
- if (context.method === "throw") {
- // Note: ["return"] must be used for ES3 parsing compatibility.
- if (delegate.iterator["return"]) {
- // If the delegate iterator has a return method, give it a
- // chance to clean up.
- context.method = "return";
- context.arg = undefined;
- maybeInvokeDelegate(delegate, context);
- if (context.method === "throw") {
- // If maybeInvokeDelegate(context) changed context.method from
- // "return" to "throw", let that override the TypeError below.
- return ContinueSentinel;
- }
- }
- context.method = "throw";
- context.arg = new TypeError(
- "The iterator does not provide a 'throw' method");
- }
- return ContinueSentinel;
- }
- var record = tryCatch(method, delegate.iterator, context.arg);
- if (record.type === "throw") {
- context.method = "throw";
- context.arg = record.arg;
- context.delegate = null;
- return ContinueSentinel;
- }
- var info = record.arg;
- if (! info) {
- context.method = "throw";
- context.arg = new TypeError("iterator result is not an object");
- context.delegate = null;
- return ContinueSentinel;
- }
- if (info.done) {
- // Assign the result of the finished delegate to the temporary
- // variable specified by delegate.resultName (see delegateYield).
- context[delegate.resultName] = info.value;
- // Resume execution at the desired location (see delegateYield).
- context.next = delegate.nextLoc;
- // If context.method was "throw" but the delegate handled the
- // exception, let the outer generator proceed normally. If
- // context.method was "next", forget context.arg since it has been
- // "consumed" by the delegate iterator. If context.method was
- // "return", allow the original .return call to continue in the
- // outer generator.
- if (context.method !== "return") {
- context.method = "next";
- context.arg = undefined;
- }
- } else {
- // Re-yield the result returned by the delegate method.
- return info;
- }
- // The delegate iterator is finished, so forget it and continue with
- // the outer generator.
- context.delegate = null;
- return ContinueSentinel;
- }
- // Define Generator.prototype.{next,throw,return} in terms of the
- // unified ._invoke helper method.
- defineIteratorMethods(Gp);
- Gp[toStringTagSymbol] = "Generator";
- // A Generator should always return itself as the iterator object when the
- // @@iterator function is called on it. Some browsers' implementations of the
- // iterator prototype chain incorrectly implement this, causing the Generator
- // object to not be returned from this call. This ensures that doesn't happen.
- // See https://github.com/facebook/regenerator/issues/274 for more details.
- Gp[iteratorSymbol] = function() {
- return this;
- };
- Gp.toString = function() {
- return "[object Generator]";
- };
- function pushTryEntry(locs) {
- var entry = { tryLoc: locs[0] };
- if (1 in locs) {
- entry.catchLoc = locs[1];
- }
- if (2 in locs) {
- entry.finallyLoc = locs[2];
- entry.afterLoc = locs[3];
- }
- this.tryEntries.push(entry);
- }
- function resetTryEntry(entry) {
- var record = entry.completion || {};
- record.type = "normal";
- delete record.arg;
- entry.completion = record;
- }
- function Context(tryLocsList) {
- // The root entry object (effectively a try statement without a catch
- // or a finally block) gives us a place to store values thrown from
- // locations where there is no enclosing try statement.
- this.tryEntries = [{ tryLoc: "root" }];
- tryLocsList.forEach(pushTryEntry, this);
- this.reset(true);
- }
- exports.keys = function(object) {
- var keys = [];
- for (var key in object) {
- keys.push(key);
- }
- keys.reverse();
- // Rather than returning an object with a next method, we keep
- // things simple and return the next function itself.
- return function next() {
- while (keys.length) {
- var key = keys.pop();
- if (key in object) {
- next.value = key;
- next.done = false;
- return next;
- }
- }
- // To avoid creating an additional object, we just hang the .value
- // and .done properties off the next function object itself. This
- // also ensures that the minifier will not anonymize the function.
- next.done = true;
- return next;
- };
- };
- function values(iterable) {
- if (iterable) {
- var iteratorMethod = iterable[iteratorSymbol];
- if (iteratorMethod) {
- return iteratorMethod.call(iterable);
- }
- if (typeof iterable.next === "function") {
- return iterable;
- }
- if (!isNaN(iterable.length)) {
- var i = -1, next = function next() {
- while (++i < iterable.length) {
- if (hasOwn.call(iterable, i)) {
- next.value = iterable[i];
- next.done = false;
- return next;
- }
- }
- next.value = undefined;
- next.done = true;
- return next;
- };
- return next.next = next;
- }
- }
- // Return an iterator with no values.
- return { next: doneResult };
- }
- exports.values = values;
- function doneResult() {
- return { value: undefined, done: true };
- }
- Context.prototype = {
- constructor: Context,
- reset: function(skipTempReset) {
- this.prev = 0;
- this.next = 0;
- // Resetting context._sent for legacy support of Babel's
- // function.sent implementation.
- this.sent = this._sent = undefined;
- this.done = false;
- this.delegate = null;
- this.method = "next";
- this.arg = undefined;
- this.tryEntries.forEach(resetTryEntry);
- if (!skipTempReset) {
- for (var name in this) {
- // Not sure about the optimal order of these conditions:
- if (name.charAt(0) === "t" &&
- hasOwn.call(this, name) &&
- !isNaN(+name.slice(1))) {
- this[name] = undefined;
- }
- }
- }
- },
- stop: function() {
- this.done = true;
- var rootEntry = this.tryEntries[0];
- var rootRecord = rootEntry.completion;
- if (rootRecord.type === "throw") {
- throw rootRecord.arg;
- }
- return this.rval;
- },
- dispatchException: function(exception) {
- if (this.done) {
- throw exception;
- }
- var context = this;
- function handle(loc, caught) {
- record.type = "throw";
- record.arg = exception;
- context.next = loc;
- if (caught) {
- // If the dispatched exception was caught by a catch block,
- // then let that catch block handle the exception normally.
- context.method = "next";
- context.arg = undefined;
- }
- return !! caught;
- }
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- var record = entry.completion;
- if (entry.tryLoc === "root") {
- // Exception thrown outside of any try block that could handle
- // it, so set the completion value of the entire function to
- // throw the exception.
- return handle("end");
- }
- if (entry.tryLoc <= this.prev) {
- var hasCatch = hasOwn.call(entry, "catchLoc");
- var hasFinally = hasOwn.call(entry, "finallyLoc");
- if (hasCatch && hasFinally) {
- if (this.prev < entry.catchLoc) {
- return handle(entry.catchLoc, true);
- } else if (this.prev < entry.finallyLoc) {
- return handle(entry.finallyLoc);
- }
- } else if (hasCatch) {
- if (this.prev < entry.catchLoc) {
- return handle(entry.catchLoc, true);
- }
- } else if (hasFinally) {
- if (this.prev < entry.finallyLoc) {
- return handle(entry.finallyLoc);
- }
- } else {
- throw new Error("try statement without catch or finally");
- }
- }
- }
- },
- abrupt: function(type, arg) {
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- if (entry.tryLoc <= this.prev &&
- hasOwn.call(entry, "finallyLoc") &&
- this.prev < entry.finallyLoc) {
- var finallyEntry = entry;
- break;
- }
- }
- if (finallyEntry &&
- (type === "break" ||
- type === "continue") &&
- finallyEntry.tryLoc <= arg &&
- arg <= finallyEntry.finallyLoc) {
- // Ignore the finally entry if control is not jumping to a
- // location outside the try/catch block.
- finallyEntry = null;
- }
- var record = finallyEntry ? finallyEntry.completion : {};
- record.type = type;
- record.arg = arg;
- if (finallyEntry) {
- this.method = "next";
- this.next = finallyEntry.finallyLoc;
- return ContinueSentinel;
- }
- return this.complete(record);
- },
- complete: function(record, afterLoc) {
- if (record.type === "throw") {
- throw record.arg;
- }
- if (record.type === "break" ||
- record.type === "continue") {
- this.next = record.arg;
- } else if (record.type === "return") {
- this.rval = this.arg = record.arg;
- this.method = "return";
- this.next = "end";
- } else if (record.type === "normal" && afterLoc) {
- this.next = afterLoc;
- }
- return ContinueSentinel;
- },
- finish: function(finallyLoc) {
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- if (entry.finallyLoc === finallyLoc) {
- this.complete(entry.completion, entry.afterLoc);
- resetTryEntry(entry);
- return ContinueSentinel;
- }
- }
- },
- "catch": function(tryLoc) {
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- if (entry.tryLoc === tryLoc) {
- var record = entry.completion;
- if (record.type === "throw") {
- var thrown = record.arg;
- resetTryEntry(entry);
- }
- return thrown;
- }
- }
- // The context.catch method must only be called with a location
- // argument that corresponds to a known catch block.
- throw new Error("illegal catch attempt");
- },
- delegateYield: function(iterable, resultName, nextLoc) {
- this.delegate = {
- iterator: values(iterable),
- resultName: resultName,
- nextLoc: nextLoc
- };
- if (this.method === "next") {
- // Deliberately forget the last sent value so that we don't
- // accidentally pass it on to the delegate.
- this.arg = undefined;
- }
- return ContinueSentinel;
- }
- };
- // Regardless of whether this script is executing as a CommonJS module
- // or not, return the runtime object so that we can declare the variable
- // regeneratorRuntime in the outer scope, which allows this module to be
- // injected easily by `bin/regenerator --include-runtime script.js`.
- return exports;
- }(
- // If this script is executing as a CommonJS module, use module.exports
- // as the regeneratorRuntime namespace. Otherwise create a new empty
- // object. Either way, the resulting object will be used to initialize
- // the regeneratorRuntime variable at the top of this file.
- true ? module.exports : undefined
- ));
- try {
- regeneratorRuntime = runtime;
- } catch (accidentalStrictMode) {
- // This module should not be running in strict mode, so the above
- // assignment should always work unless something is misconfigured. Just
- // in case runtime.js accidentally runs in strict mode, we can escape
- // strict mode using a global Function call. This could conceivably fail
- // if a Content Security Policy forbids using Function, but in that case
- // the proper solution is to fix the accidental strict mode problem. If
- // you've misconfigured your bundler to force strict mode and applied a
- // CSP to forbid Function, and you're not willing to fix either of those
- // problems, please detail your unique predicament in a GitHub issue.
- Function("r", "regeneratorRuntime = r")(runtime);
- }
- /***/ }),
- /***/ "9768":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "990b":
- /***/ (function(module, exports, __webpack_require__) {
- // all object keys, includes non-enumerable and symbols
- var gOPN = __webpack_require__("9093");
- var gOPS = __webpack_require__("2621");
- var anObject = __webpack_require__("cb7c");
- var Reflect = __webpack_require__("7726").Reflect;
- module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
- var keys = gOPN.f(anObject(it));
- var getSymbols = gOPS.f;
- return getSymbols ? keys.concat(getSymbols(it)) : keys;
- };
- /***/ }),
- /***/ "9b01":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6da9");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "9b43":
- /***/ (function(module, exports, __webpack_require__) {
- // optional / simple context binding
- var aFunction = __webpack_require__("d8e8");
- module.exports = function (fn, that, length) {
- aFunction(fn);
- if (that === undefined) return fn;
- switch (length) {
- case 1: return function (a) {
- return fn.call(that, a);
- };
- case 2: return function (a, b) {
- return fn.call(that, a, b);
- };
- case 3: return function (a, b, c) {
- return fn.call(that, a, b, c);
- };
- }
- return function (/* ...args */) {
- return fn.apply(that, arguments);
- };
- };
- /***/ }),
- /***/ "9c6c":
- /***/ (function(module, exports, __webpack_require__) {
- // 22.1.3.31 Array.prototype[@@unscopables]
- var UNSCOPABLES = __webpack_require__("2b4c")('unscopables');
- var ArrayProto = Array.prototype;
- if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__("32e9")(ArrayProto, UNSCOPABLES, {});
- module.exports = function (key) {
- ArrayProto[UNSCOPABLES][key] = true;
- };
- /***/ }),
- /***/ "9def":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.1.15 ToLength
- var toInteger = __webpack_require__("4588");
- var min = Math.min;
- module.exports = function (it) {
- return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
- };
- /***/ }),
- /***/ "9e1e":
- /***/ (function(module, exports, __webpack_require__) {
- // Thank's IE8 for his funny defineProperty
- module.exports = !__webpack_require__("79e5")(function () {
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
- });
- /***/ }),
- /***/ "a159":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
- var anObject = __webpack_require__("e4ae");
- var dPs = __webpack_require__("7e90");
- var enumBugKeys = __webpack_require__("1691");
- var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
- var Empty = function () { /* empty */ };
- var PROTOTYPE = 'prototype';
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
- var createDict = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = __webpack_require__("1ec9")('iframe');
- var i = enumBugKeys.length;
- var lt = '<';
- var gt = '>';
- var iframeDocument;
- iframe.style.display = 'none';
- __webpack_require__("32fc").appendChild(iframe);
- iframe.src = 'javascript:'; // eslint-disable-line no-script-url
- // createDict = iframe.contentWindow.Object;
- // html.removeChild(iframe);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
- iframeDocument.close();
- createDict = iframeDocument.F;
- while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
- return createDict();
- };
- module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- Empty[PROTOTYPE] = anObject(O);
- result = new Empty();
- Empty[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = createDict();
- return Properties === undefined ? result : dPs(result, Properties);
- };
- /***/ }),
- /***/ "a215":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "a22a":
- /***/ (function(module, exports, __webpack_require__) {
- var ctx = __webpack_require__("d864");
- var call = __webpack_require__("b0dc");
- var isArrayIter = __webpack_require__("3702");
- var anObject = __webpack_require__("e4ae");
- var toLength = __webpack_require__("b447");
- var getIterFn = __webpack_require__("7cd6");
- var BREAK = {};
- var RETURN = {};
- var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
- var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
- var f = ctx(fn, that, entries ? 2 : 1);
- var index = 0;
- var length, step, iterator, result;
- if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
- // fast case for arrays with default iterator
- if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
- result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
- if (result === BREAK || result === RETURN) return result;
- } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
- result = call(iterator, f, step.value, entries);
- if (result === BREAK || result === RETURN) return result;
- }
- };
- exports.BREAK = BREAK;
- exports.RETURN = RETURN;
- /***/ }),
- /***/ "a481":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var anObject = __webpack_require__("cb7c");
- var toObject = __webpack_require__("4bf8");
- var toLength = __webpack_require__("9def");
- var toInteger = __webpack_require__("4588");
- var advanceStringIndex = __webpack_require__("0390");
- var regExpExec = __webpack_require__("5f1b");
- var max = Math.max;
- var min = Math.min;
- var floor = Math.floor;
- var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
- var maybeToString = function (it) {
- return it === undefined ? it : String(it);
- };
- // @@replace logic
- __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
- return [
- // `String.prototype.replace` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.replace
- function replace(searchValue, replaceValue) {
- var O = defined(this);
- var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
- return fn !== undefined
- ? fn.call(searchValue, O, replaceValue)
- : $replace.call(String(O), searchValue, replaceValue);
- },
- // `RegExp.prototype[@@replace]` method
- // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
- function (regexp, replaceValue) {
- var res = maybeCallNative($replace, regexp, this, replaceValue);
- if (res.done) return res.value;
- var rx = anObject(regexp);
- var S = String(this);
- var functionalReplace = typeof replaceValue === 'function';
- if (!functionalReplace) replaceValue = String(replaceValue);
- var global = rx.global;
- if (global) {
- var fullUnicode = rx.unicode;
- rx.lastIndex = 0;
- }
- var results = [];
- while (true) {
- var result = regExpExec(rx, S);
- if (result === null) break;
- results.push(result);
- if (!global) break;
- var matchStr = String(result[0]);
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
- }
- var accumulatedResult = '';
- var nextSourcePosition = 0;
- for (var i = 0; i < results.length; i++) {
- result = results[i];
- var matched = String(result[0]);
- var position = max(min(toInteger(result.index), S.length), 0);
- var captures = [];
- // NOTE: This is equivalent to
- // captures = result.slice(1).map(maybeToString)
- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
- for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
- var namedCaptures = result.groups;
- if (functionalReplace) {
- var replacerArgs = [matched].concat(captures, position, S);
- if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
- var replacement = String(replaceValue.apply(undefined, replacerArgs));
- } else {
- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
- }
- if (position >= nextSourcePosition) {
- accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
- nextSourcePosition = position + matched.length;
- }
- }
- return accumulatedResult + S.slice(nextSourcePosition);
- }
- ];
- // https://tc39.github.io/ecma262/#sec-getsubstitution
- function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
- var tailPos = position + matched.length;
- var m = captures.length;
- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
- if (namedCaptures !== undefined) {
- namedCaptures = toObject(namedCaptures);
- symbols = SUBSTITUTION_SYMBOLS;
- }
- return $replace.call(replacement, symbols, function (match, ch) {
- var capture;
- switch (ch.charAt(0)) {
- case '$': return '$';
- case '&': return matched;
- case '`': return str.slice(0, position);
- case "'": return str.slice(tailPos);
- case '<':
- capture = namedCaptures[ch.slice(1, -1)];
- break;
- default: // \d\d?
- var n = +ch;
- if (n === 0) return match;
- if (n > m) {
- var f = floor(n / 10);
- if (f === 0) return match;
- if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
- return match;
- }
- capture = captures[n - 1];
- }
- return capture === undefined ? '' : capture;
- });
- }
- });
- /***/ }),
- /***/ "a745":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("f410");
- /***/ }),
- /***/ "aa77":
- /***/ (function(module, exports, __webpack_require__) {
- var $export = __webpack_require__("5ca1");
- var defined = __webpack_require__("be13");
- var fails = __webpack_require__("79e5");
- var spaces = __webpack_require__("fdef");
- var space = '[' + spaces + ']';
- var non = '\u200b\u0085';
- var ltrim = RegExp('^' + space + space + '*');
- var rtrim = RegExp(space + space + '*$');
- var exporter = function (KEY, exec, ALIAS) {
- var exp = {};
- var FORCE = fails(function () {
- return !!spaces[KEY]() || non[KEY]() != non;
- });
- var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
- if (ALIAS) exp[ALIAS] = fn;
- $export($export.P + $export.F * FORCE, 'String', exp);
- };
- // 1 -> String#trimLeft
- // 2 -> String#trimRight
- // 3 -> String#trim
- var trim = exporter.trim = function (string, TYPE) {
- string = String(defined(string));
- if (TYPE & 1) string = string.replace(ltrim, '');
- if (TYPE & 2) string = string.replace(rtrim, '');
- return string;
- };
- module.exports = exporter;
- /***/ }),
- /***/ "aae3":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.2.8 IsRegExp(argument)
- var isObject = __webpack_require__("d3f4");
- var cof = __webpack_require__("2d95");
- var MATCH = __webpack_require__("2b4c")('match');
- module.exports = function (it) {
- var isRegExp;
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
- };
- /***/ }),
- /***/ "aba2":
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__("e53d");
- var macrotask = __webpack_require__("4178").set;
- var Observer = global.MutationObserver || global.WebKitMutationObserver;
- var process = global.process;
- var Promise = global.Promise;
- var isNode = __webpack_require__("6b4c")(process) == 'process';
- module.exports = function () {
- var head, last, notify;
- var flush = function () {
- var parent, fn;
- if (isNode && (parent = process.domain)) parent.exit();
- while (head) {
- fn = head.fn;
- head = head.next;
- try {
- fn();
- } catch (e) {
- if (head) notify();
- else last = undefined;
- throw e;
- }
- } last = undefined;
- if (parent) parent.enter();
- };
- // Node.js
- if (isNode) {
- notify = function () {
- process.nextTick(flush);
- };
- // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
- } else if (Observer && !(global.navigator && global.navigator.standalone)) {
- var toggle = true;
- var node = document.createTextNode('');
- new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
- notify = function () {
- node.data = toggle = !toggle;
- };
- // environments with maybe non-completely correct, but existent Promise
- } else if (Promise && Promise.resolve) {
- // Promise.resolve without an argument throws an error in LG WebOS 2
- var promise = Promise.resolve(undefined);
- notify = function () {
- promise.then(flush);
- };
- // for other environments - macrotask based on:
- // - setImmediate
- // - MessageChannel
- // - window.postMessag
- // - onreadystatechange
- // - setTimeout
- } else {
- notify = function () {
- // strange IE + webpack dev server bug - use .call(global)
- macrotask.call(global, flush);
- };
- }
- return function (fn) {
- var task = { fn: fn, next: undefined };
- if (last) last.next = task;
- if (!head) {
- head = task;
- notify();
- } last = task;
- };
- };
- /***/ }),
- /***/ "ac6a":
- /***/ (function(module, exports, __webpack_require__) {
- var $iterators = __webpack_require__("cadf");
- var getKeys = __webpack_require__("0d58");
- var redefine = __webpack_require__("2aba");
- var global = __webpack_require__("7726");
- var hide = __webpack_require__("32e9");
- var Iterators = __webpack_require__("84f2");
- var wks = __webpack_require__("2b4c");
- var ITERATOR = wks('iterator');
- var TO_STRING_TAG = wks('toStringTag');
- var ArrayValues = Iterators.Array;
- var DOMIterables = {
- CSSRuleList: true, // TODO: Not spec compliant, should be false.
- CSSStyleDeclaration: false,
- CSSValueList: false,
- ClientRectList: false,
- DOMRectList: false,
- DOMStringList: false,
- DOMTokenList: true,
- DataTransferItemList: false,
- FileList: false,
- HTMLAllCollection: false,
- HTMLCollection: false,
- HTMLFormElement: false,
- HTMLSelectElement: false,
- MediaList: true, // TODO: Not spec compliant, should be false.
- MimeTypeArray: false,
- NamedNodeMap: false,
- NodeList: true,
- PaintRequestList: false,
- Plugin: false,
- PluginArray: false,
- SVGLengthList: false,
- SVGNumberList: false,
- SVGPathSegList: false,
- SVGPointList: false,
- SVGStringList: false,
- SVGTransformList: false,
- SourceBufferList: false,
- StyleSheetList: true, // TODO: Not spec compliant, should be false.
- TextTrackCueList: false,
- TextTrackList: false,
- TouchList: false
- };
- for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
- var NAME = collections[i];
- var explicit = DOMIterables[NAME];
- var Collection = global[NAME];
- var proto = Collection && Collection.prototype;
- var key;
- if (proto) {
- if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
- if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
- Iterators[NAME] = ArrayValues;
- if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
- }
- }
- /***/ }),
- /***/ "acce":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "aebd":
- /***/ (function(module, exports) {
- module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
- };
- /***/ }),
- /***/ "b0c5":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var regexpExec = __webpack_require__("520a");
- __webpack_require__("5ca1")({
- target: 'RegExp',
- proto: true,
- forced: regexpExec !== /./.exec
- }, {
- exec: regexpExec
- });
- /***/ }),
- /***/ "b0dc":
- /***/ (function(module, exports, __webpack_require__) {
- // call something on iterator step with safe closing on error
- var anObject = __webpack_require__("e4ae");
- module.exports = function (iterator, fn, value, entries) {
- try {
- return entries ? fn(anObject(value)[0], value[1]) : fn(value);
- // 7.4.6 IteratorClose(iterator, completion)
- } catch (e) {
- var ret = iterator['return'];
- if (ret !== undefined) anObject(ret.call(iterator));
- throw e;
- }
- };
- /***/ }),
- /***/ "b447":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.1.15 ToLength
- var toInteger = __webpack_require__("3a38");
- var min = Math.min;
- module.exports = function (it) {
- return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
- };
- /***/ }),
- /***/ "b8e3":
- /***/ (function(module, exports) {
- module.exports = true;
- /***/ }),
- /***/ "bc13":
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__("e53d");
- var navigator = global.navigator;
- module.exports = navigator && navigator.userAgent || '';
- /***/ }),
- /***/ "be13":
- /***/ (function(module, exports) {
- // 7.2.1 RequireObjectCoercible(argument)
- module.exports = function (it) {
- if (it == undefined) throw TypeError("Can't call method on " + it);
- return it;
- };
- /***/ }),
- /***/ "c207":
- /***/ (function(module, exports) {
- /***/ }),
- /***/ "c366":
- /***/ (function(module, exports, __webpack_require__) {
- // false -> Array#indexOf
- // true -> Array#includes
- var toIObject = __webpack_require__("6821");
- var toLength = __webpack_require__("9def");
- var toAbsoluteIndex = __webpack_require__("77f1");
- module.exports = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIObject($this);
- var length = toLength(O.length);
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare
- if (IS_INCLUDES && el != el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare
- if (value != value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
- if (O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
- };
- /***/ }),
- /***/ "c367":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var addToUnscopables = __webpack_require__("8436");
- var step = __webpack_require__("50ed");
- var Iterators = __webpack_require__("481b");
- var toIObject = __webpack_require__("36c3");
- // 22.1.3.4 Array.prototype.entries()
- // 22.1.3.13 Array.prototype.keys()
- // 22.1.3.29 Array.prototype.values()
- // 22.1.3.30 Array.prototype[@@iterator]()
- module.exports = __webpack_require__("30f1")(Array, 'Array', function (iterated, kind) {
- this._t = toIObject(iterated); // target
- this._i = 0; // next index
- this._k = kind; // kind
- // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
- }, function () {
- var O = this._t;
- var kind = this._k;
- var index = this._i++;
- if (!O || index >= O.length) {
- this._t = undefined;
- return step(1);
- }
- if (kind == 'keys') return step(0, index);
- if (kind == 'values') return step(0, O[index]);
- return step(0, [index, O[index]]);
- }, 'values');
- // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
- Iterators.Arguments = Iterators.Array;
- addToUnscopables('keys');
- addToUnscopables('values');
- addToUnscopables('entries');
- /***/ }),
- /***/ "c3a1":
- /***/ (function(module, exports, __webpack_require__) {
- // 19.1.2.14 / 15.2.3.14 Object.keys(O)
- var $keys = __webpack_require__("e6f3");
- var enumBugKeys = __webpack_require__("1691");
- module.exports = Object.keys || function keys(O) {
- return $keys(O, enumBugKeys);
- };
- /***/ }),
- /***/ "c5f6":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__("7726");
- var has = __webpack_require__("69a8");
- var cof = __webpack_require__("2d95");
- var inheritIfRequired = __webpack_require__("5dbc");
- var toPrimitive = __webpack_require__("6a99");
- var fails = __webpack_require__("79e5");
- var gOPN = __webpack_require__("9093").f;
- var gOPD = __webpack_require__("11e9").f;
- var dP = __webpack_require__("86cc").f;
- var $trim = __webpack_require__("aa77").trim;
- var NUMBER = 'Number';
- var $Number = global[NUMBER];
- var Base = $Number;
- var proto = $Number.prototype;
- // Opera ~12 has broken Object#toString
- var BROKEN_COF = cof(__webpack_require__("2aeb")(proto)) == NUMBER;
- var TRIM = 'trim' in String.prototype;
- // 7.1.3 ToNumber(argument)
- var toNumber = function (argument) {
- var it = toPrimitive(argument, false);
- if (typeof it == 'string' && it.length > 2) {
- it = TRIM ? it.trim() : $trim(it, 3);
- var first = it.charCodeAt(0);
- var third, radix, maxCode;
- if (first === 43 || first === 45) {
- third = it.charCodeAt(2);
- if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
- } else if (first === 48) {
- switch (it.charCodeAt(1)) {
- case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
- case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
- default: return +it;
- }
- for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
- code = digits.charCodeAt(i);
- // parseInt parses a string to a first unavailable symbol
- // but ToNumber should return NaN if a string contains unavailable symbols
- if (code < 48 || code > maxCode) return NaN;
- } return parseInt(digits, radix);
- }
- } return +it;
- };
- if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
- $Number = function Number(value) {
- var it = arguments.length < 1 ? 0 : value;
- var that = this;
- return that instanceof $Number
- // check on 1..constructor(foo) case
- && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
- ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
- };
- for (var keys = __webpack_require__("9e1e") ? gOPN(Base) : (
- // ES3:
- 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
- // ES6 (in case, if modules with ES6 Number statics required before):
- 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
- 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
- ).split(','), j = 0, key; keys.length > j; j++) {
- if (has(Base, key = keys[j]) && !has($Number, key)) {
- dP($Number, key, gOPD(Base, key));
- }
- }
- $Number.prototype = proto;
- proto.constructor = $Number;
- __webpack_require__("2aba")(global, NUMBER, $Number);
- }
- /***/ }),
- /***/ "c69a":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () {
- return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7;
- });
- /***/ }),
- /***/ "c8bb":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("54a1");
- /***/ }),
- /***/ "ca5a":
- /***/ (function(module, exports) {
- var id = 0;
- var px = Math.random();
- module.exports = function (key) {
- return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
- };
- /***/ }),
- /***/ "cadf":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var addToUnscopables = __webpack_require__("9c6c");
- var step = __webpack_require__("d53b");
- var Iterators = __webpack_require__("84f2");
- var toIObject = __webpack_require__("6821");
- // 22.1.3.4 Array.prototype.entries()
- // 22.1.3.13 Array.prototype.keys()
- // 22.1.3.29 Array.prototype.values()
- // 22.1.3.30 Array.prototype[@@iterator]()
- module.exports = __webpack_require__("01f9")(Array, 'Array', function (iterated, kind) {
- this._t = toIObject(iterated); // target
- this._i = 0; // next index
- this._k = kind; // kind
- // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
- }, function () {
- var O = this._t;
- var kind = this._k;
- var index = this._i++;
- if (!O || index >= O.length) {
- this._t = undefined;
- return step(1);
- }
- if (kind == 'keys') return step(0, index);
- if (kind == 'values') return step(0, O[index]);
- return step(0, [index, O[index]]);
- }, 'values');
- // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
- Iterators.Arguments = Iterators.Array;
- addToUnscopables('keys');
- addToUnscopables('values');
- addToUnscopables('entries');
- /***/ }),
- /***/ "cb7c":
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__("d3f4");
- module.exports = function (it) {
- if (!isObject(it)) throw TypeError(it + ' is not an object!');
- return it;
- };
- /***/ }),
- /***/ "cd1c":
- /***/ (function(module, exports, __webpack_require__) {
- // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
- var speciesConstructor = __webpack_require__("e853");
- module.exports = function (original, length) {
- return new (speciesConstructor(original))(length);
- };
- /***/ }),
- /***/ "cd78":
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__("e4ae");
- var isObject = __webpack_require__("f772");
- var newPromiseCapability = __webpack_require__("656e");
- module.exports = function (C, x) {
- anObject(C);
- if (isObject(x) && x.constructor === C) return x;
- var promiseCapability = newPromiseCapability.f(C);
- var resolve = promiseCapability.resolve;
- resolve(x);
- return promiseCapability.promise;
- };
- /***/ }),
- /***/ "ce10":
- /***/ (function(module, exports, __webpack_require__) {
- var has = __webpack_require__("69a8");
- var toIObject = __webpack_require__("6821");
- var arrayIndexOf = __webpack_require__("c366")(false);
- var IE_PROTO = __webpack_require__("613b")('IE_PROTO');
- module.exports = function (object, names) {
- var O = toIObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (has(O, key = names[i++])) {
- ~arrayIndexOf(result, key) || result.push(key);
- }
- return result;
- };
- /***/ }),
- /***/ "cfab":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_file_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("15cf");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_file_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_file_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_file_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "d2c8":
- /***/ (function(module, exports, __webpack_require__) {
- // helper for String#{startsWith, endsWith, includes}
- var isRegExp = __webpack_require__("aae3");
- var defined = __webpack_require__("be13");
- module.exports = function (that, searchString, NAME) {
- if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
- return String(defined(that));
- };
- /***/ }),
- /***/ "d2d5":
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__("1654");
- __webpack_require__("549b");
- module.exports = __webpack_require__("584a").Array.from;
- /***/ }),
- /***/ "d3f4":
- /***/ (function(module, exports) {
- module.exports = function (it) {
- return typeof it === 'object' ? it !== null : typeof it === 'function';
- };
- /***/ }),
- /***/ "d53b":
- /***/ (function(module, exports) {
- module.exports = function (done, value) {
- return { value: value, done: !!done };
- };
- /***/ }),
- /***/ "d864":
- /***/ (function(module, exports, __webpack_require__) {
- // optional / simple context binding
- var aFunction = __webpack_require__("79aa");
- module.exports = function (fn, that, length) {
- aFunction(fn);
- if (that === undefined) return fn;
- switch (length) {
- case 1: return function (a) {
- return fn.call(that, a);
- };
- case 2: return function (a, b) {
- return fn.call(that, a, b);
- };
- case 3: return function (a, b, c) {
- return fn.call(that, a, b, c);
- };
- }
- return function (/* ...args */) {
- return fn.apply(that, arguments);
- };
- };
- /***/ }),
- /***/ "d8e8":
- /***/ (function(module, exports) {
- module.exports = function (it) {
- if (typeof it != 'function') throw TypeError(it + ' is not a function!');
- return it;
- };
- /***/ }),
- /***/ "d9f6":
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__("e4ae");
- var IE8_DOM_DEFINE = __webpack_require__("794b");
- var toPrimitive = __webpack_require__("1bc3");
- var dP = Object.defineProperty;
- exports.f = __webpack_require__("8e60") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPrimitive(P, true);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return dP(O, P, Attributes);
- } catch (e) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
- };
- /***/ }),
- /***/ "dbdb":
- /***/ (function(module, exports, __webpack_require__) {
- var core = __webpack_require__("584a");
- var global = __webpack_require__("e53d");
- var SHARED = '__core-js_shared__';
- var store = global[SHARED] || (global[SHARED] = {});
- (module.exports = function (key, value) {
- return store[key] || (store[key] = value !== undefined ? value : {});
- })('versions', []).push({
- version: core.version,
- mode: __webpack_require__("b8e3") ? 'pure' : 'global',
- copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
- });
- /***/ }),
- /***/ "dbdc":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_badge_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7802");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_badge_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_badge_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_badge_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "e11e":
- /***/ (function(module, exports) {
- // IE 8- don't enum bug keys
- module.exports = (
- 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
- ).split(',');
- /***/ }),
- /***/ "e4ae":
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__("f772");
- module.exports = function (it) {
- if (!isObject(it)) throw TypeError(it + ' is not an object!');
- return it;
- };
- /***/ }),
- /***/ "e53d":
- /***/ (function(module, exports) {
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
- var global = module.exports = typeof window != 'undefined' && window.Math == Math
- ? window : typeof self != 'undefined' && self.Math == Math ? self
- // eslint-disable-next-line no-new-func
- : Function('return this')();
- if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
- /***/ }),
- /***/ "e6f3":
- /***/ (function(module, exports, __webpack_require__) {
- var has = __webpack_require__("07e3");
- var toIObject = __webpack_require__("36c3");
- var arrayIndexOf = __webpack_require__("5b4e")(false);
- var IE_PROTO = __webpack_require__("5559")('IE_PROTO');
- module.exports = function (object, names) {
- var O = toIObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (has(O, key = names[i++])) {
- ~arrayIndexOf(result, key) || result.push(key);
- }
- return result;
- };
- /***/ }),
- /***/ "e853":
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__("d3f4");
- var isArray = __webpack_require__("1169");
- var SPECIES = __webpack_require__("2b4c")('species');
- module.exports = function (original) {
- var C;
- if (isArray(original)) {
- C = original.constructor;
- // cross-realm fallback
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
- if (isObject(C)) {
- C = C[SPECIES];
- if (C === null) C = undefined;
- }
- } return C === undefined ? Array : C;
- };
- /***/ }),
- /***/ "e86c":
- /***/ (function(module, exports, __webpack_require__) {
- // extracted by mini-css-extract-plugin
- /***/ }),
- /***/ "ed4b":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_event_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a215");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_event_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_event_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_event_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "f1ae":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $defineProperty = __webpack_require__("86cc");
- var createDesc = __webpack_require__("4630");
- module.exports = function (object, index, value) {
- if (index in object) $defineProperty.f(object, index, createDesc(0, value));
- else object[index] = value;
- };
- /***/ }),
- /***/ "f201":
- /***/ (function(module, exports, __webpack_require__) {
- // 7.3.20 SpeciesConstructor(O, defaultConstructor)
- var anObject = __webpack_require__("e4ae");
- var aFunction = __webpack_require__("79aa");
- var SPECIES = __webpack_require__("5168")('species');
- module.exports = function (O, D) {
- var C = anObject(O).constructor;
- var S;
- return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
- };
- /***/ }),
- /***/ "f410":
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__("1af6");
- module.exports = __webpack_require__("584a").Array.isArray;
- /***/ }),
- /***/ "f559":
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
- var $export = __webpack_require__("5ca1");
- var toLength = __webpack_require__("9def");
- var context = __webpack_require__("d2c8");
- var STARTS_WITH = 'startsWith';
- var $startsWith = ''[STARTS_WITH];
- $export($export.P + $export.F * __webpack_require__("5147")(STARTS_WITH), 'String', {
- startsWith: function startsWith(searchString /* , position = 0 */) {
- var that = context(this, searchString, STARTS_WITH);
- var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));
- var search = String(searchString);
- return $startsWith
- ? $startsWith.call(that, search, index)
- : that.slice(index, index + search.length) === search;
- }
- });
- /***/ }),
- /***/ "f6fd":
- /***/ (function(module, exports) {
- // document.currentScript polyfill by Adam Miller
- // MIT license
- (function(document){
- var currentScript = "currentScript",
- scripts = document.getElementsByTagName('script'); // Live NodeList collection
- // If browser needs currentScript polyfill, add get currentScript() to the document object
- if (!(currentScript in document)) {
- Object.defineProperty(document, currentScript, {
- get: function(){
- // IE 6-10 supports script readyState
- // IE 10+ support stack trace
- try { throw new Error(); }
- catch (err) {
- // Find the second match for the "at" string to get file src url from stack.
- // Specifically works with the format of stack traces in IE.
- var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
- // For all scripts on the page, if src matches or if ready state is interactive, return the script tag
- for(i in scripts){
- if(scripts[i].src == res || scripts[i].readyState == "interactive"){
- return scripts[i];
- }
- }
- // If no match, return null
- return null;
- }
- }
- });
- }
- })(document);
- /***/ }),
- /***/ "f772":
- /***/ (function(module, exports) {
- module.exports = function (it) {
- return typeof it === 'object' ? it !== null : typeof it === 'function';
- };
- /***/ }),
- /***/ "fa5b":
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__("5537")('native-function-to-string', Function.toString);
- /***/ }),
- /***/ "fab2":
- /***/ (function(module, exports, __webpack_require__) {
- var document = __webpack_require__("7726").document;
- module.exports = document && document.documentElement;
- /***/ }),
- /***/ "fb15":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
- // This file is imported into lib/wc client bundles.
- if (typeof window !== 'undefined') {
- if (true) {
- __webpack_require__("f6fd")
- }
- var setPublicPath_i
- if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
- __webpack_require__.p = setPublicPath_i[1] // eslint-disable-line
- }
- }
- // Indicate to webpack that this file can be concatenated
- /* harmony default export */ var setPublicPath = (null);
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js
- var es6_function_name = __webpack_require__("7f7f");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
- var web_dom_iterable = __webpack_require__("ac6a");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.constructor.js
- var es6_regexp_constructor = __webpack_require__("3b2b");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
- var es6_array_iterator = __webpack_require__("cadf");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.values.js
- var es7_object_values = __webpack_require__("8615");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
- var es6_regexp_to_string = __webpack_require__("6b54");
- // CONCATENATED MODULE: ./packages/utils/validate.js
- function isPlainObject(obj) {
- return Object.prototype.toString.call(obj) === "[object Object]";
- }
- function isString(str) {
- return typeof str == "string";
- }
- function isToday(time) {
- return new Date().getTime() - time < 86400000;
- }
- function isEmpty(obj) {
- if (!obj) return true;
- if (Array.isArray(obj) && obj.length == 0) return true;
- if (isPlainObject(obj) && Object.values(obj).length == 0) return true;
- return false;
- }
- function isUrl(str) {
- var reg = "^((https|http|ftp|rtsp|mms)?://)" + "?(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?" + //ftp的user@
- "(([0-9]{1,3}.){3}[0-9]{1,3}" + // IP形式的URL- 199.194.52.184
- "|" + // 允许IP和DOMAIN(域名)
- "([0-9a-z_!~*'()-]+.)*" + // 域名- www.
- "([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]." + // 二级域名
- "[a-z]{2,6})" + // first level domain- .com or .museum
- "(:[0-9]{1,4})?" + // 端口- :80
- "((/?)|" + // 如果没有文件名,则不需要斜杠
- "(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$";
- return new RegExp(reg).test(str) ? true : false;
- }
- function isFunction(val) {
- return val && typeof val === "function";
- }
- function isEng(val) {
- return /^[A-Za-z]+$/.test(val);
- }
- // EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
- var runtime = __webpack_require__("96cf");
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/promise.js
- var promise = __webpack_require__("795b");
- var promise_default = /*#__PURE__*/__webpack_require__.n(promise);
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/asyncToGenerator.js
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
- try {
- var info = gen[key](arg);
- var value = info.value;
- } catch (error) {
- reject(error);
- return;
- }
- if (info.done) {
- resolve(value);
- } else {
- promise_default.a.resolve(value).then(_next, _throw);
- }
- }
- function _asyncToGenerator(fn) {
- return function () {
- var self = this,
- args = arguments;
- return new promise_default.a(function (resolve, reject) {
- var gen = fn.apply(self, args);
- function _next(value) {
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
- }
- function _throw(err) {
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
- }
- _next(undefined);
- });
- };
- }
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
- var es6_object_keys = __webpack_require__("456d");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.array.includes.js
- var es7_array_includes = __webpack_require__("6762");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.includes.js
- var es6_string_includes = __webpack_require__("2fdb");
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/popover.vue?vue&type=script&lang=js&
- var popoverCloseQueue = [];
- var triggerEvents = {
- hover: function hover(el) {},
- focus: function focus(el) {
- var _this = this;
- el.addEventListener("focus", function (e) {
- _this.changeVisible();
- });
- el.addEventListener("blur", function (e) {
- _this.changeVisible();
- });
- },
- click: function click(el) {
- var _this2 = this;
- el.addEventListener("click", function (e) {
- e.stopPropagation();
- contextmenu.hide();
- _this2.changeVisible();
- });
- },
- contextmenu: function contextmenu(el) {
- var _this3 = this;
- el.addEventListener("contextmenu", function (e) {
- e.preventDefault();
- _this3.changeVisible();
- });
- }
- };
- /* harmony default export */ var popovervue_type_script_lang_js_ = ({
- name: "LemonPopover",
- props: {
- trigger: {
- type: String,
- default: "click",
- validator: function validator(val) {
- return Object.keys(triggerEvents).includes(val);
- }
- }
- },
- data: function data() {
- return {
- popoverStyle: {},
- visible: false
- };
- },
- created: function created() {
- document.addEventListener("click", this._documentClickEvent);
- popoverCloseQueue.push(this.close);
- },
- mounted: function mounted() {
- triggerEvents[this.trigger].call(this, this.$slots.default[0].elm);
- },
- render: function render() {
- var h = arguments[0];
- return h("span", {
- "style": "position:relative"
- }, [h("transition", {
- "attrs": {
- "name": "lemon-slide-top"
- }
- }, [this.visible && h("div", {
- "class": "lemon-popover",
- "ref": "popover",
- "style": this.popoverStyle,
- "on": {
- "click": function click(e) {
- return e.stopPropagation();
- }
- }
- }, [h("div", {
- "class": "lemon-popover__content"
- }, [this.$slots.content]), h("div", {
- "class": "lemon-popover__arrow"
- })])]), this.$slots.default]);
- },
- destroyed: function destroyed() {
- document.removeEventListener("click", this._documentClickEvent);
- },
- computed: {},
- watch: {
- visible: function () {
- var _visible = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee(val) {
- var defaultEl, contentEl;
- return regeneratorRuntime.wrap(function _callee$(_context) {
- while (1) {
- switch (_context.prev = _context.next) {
- case 0:
- if (!val) {
- _context.next = 6;
- break;
- }
- _context.next = 3;
- return this.$nextTick();
- case 3:
- defaultEl = this.$slots.default[0].elm;
- contentEl = this.$refs.popover;
- this.popoverStyle = {
- top: "-".concat(contentEl.offsetHeight + 10, "px"),
- left: "".concat(defaultEl.offsetWidth / 2 - contentEl.offsetWidth / 2, "px")
- };
- case 6:
- case "end":
- return _context.stop();
- }
- }
- }, _callee, this);
- }));
- function visible(_x) {
- return _visible.apply(this, arguments);
- }
- return visible;
- }()
- },
- methods: {
- _documentClickEvent: function _documentClickEvent(e) {
- e.stopPropagation();
- if (this.visible) this.close();
- },
- changeVisible: function changeVisible() {
- this.visible ? this.close() : this.open();
- },
- open: function open() {
- this.closeAll();
- this.visible = true;
- },
- closeAll: function closeAll() {
- popoverCloseQueue.forEach(function (callback) {
- return callback();
- });
- },
- close: function close() {
- this.visible = false;
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/popover.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_popovervue_type_script_lang_js_ = (popovervue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/popover.vue?vue&type=style&index=0&lang=stylus&
- var popovervue_type_style_index_0_lang_stylus_ = __webpack_require__("0e15");
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- /* globals __VUE_SSR_CONTEXT__ */
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
- // This module is a runtime utility for cleaner component module output and will
- // be included in the final webpack user bundle.
- function normalizeComponent (
- scriptExports,
- render,
- staticRenderFns,
- functionalTemplate,
- injectStyles,
- scopeId,
- moduleIdentifier, /* server only */
- shadowMode /* vue-cli only */
- ) {
- // Vue.extend constructor export interop
- var options = typeof scriptExports === 'function'
- ? scriptExports.options
- : scriptExports
- // render functions
- if (render) {
- options.render = render
- options.staticRenderFns = staticRenderFns
- options._compiled = true
- }
- // functional template
- if (functionalTemplate) {
- options.functional = true
- }
- // scopedId
- if (scopeId) {
- options._scopeId = 'data-v-' + scopeId
- }
- var hook
- if (moduleIdentifier) { // server build
- hook = function (context) {
- // 2.3 injection
- context =
- context || // cached call
- (this.$vnode && this.$vnode.ssrContext) || // stateful
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
- // 2.2 with runInNewContext: true
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
- context = __VUE_SSR_CONTEXT__
- }
- // inject component styles
- if (injectStyles) {
- injectStyles.call(this, context)
- }
- // register component module identifier for async chunk inferrence
- if (context && context._registeredComponents) {
- context._registeredComponents.add(moduleIdentifier)
- }
- }
- // used by ssr in case component is cached and beforeCreate
- // never gets called
- options._ssrRegister = hook
- } else if (injectStyles) {
- hook = shadowMode
- ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
- : injectStyles
- }
- if (hook) {
- if (options.functional) {
- // for template-only hot-reload because in that case the render fn doesn't
- // go through the normalizer
- options._injectStyles = hook
- // register for functioal component in vue file
- var originalRender = options.render
- options.render = function renderWithStyleInjection (h, context) {
- hook.call(context)
- return originalRender(h, context)
- }
- } else {
- // inject component registration as beforeCreate hook
- var existing = options.beforeCreate
- options.beforeCreate = existing
- ? [].concat(existing, hook)
- : [hook]
- }
- }
- return {
- exports: scriptExports,
- options: options
- }
- }
- // CONCATENATED MODULE: ./packages/components/popover.vue
- var popover_render, staticRenderFns
- /* normalize component */
- var popover_component = normalizeComponent(
- components_popovervue_type_script_lang_js_,
- popover_render,
- staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var popover = (popover_component.exports);
- // CONCATENATED MODULE: ./packages/directives/contextmenu.js
- // import Vue from "vue";
- var contextmenu_popover;
- var hidePopover = function hidePopover() {
- if (contextmenu_popover) contextmenu_popover.style.display = "none";
- };
- var showPopover = function showPopover() {
- if (contextmenu_popover) contextmenu_popover.style.display = "block";
- };
- document.addEventListener("click", function (e) {
- hidePopover();
- });
- /* harmony default export */ var contextmenu = ({
- hide: hidePopover,
- bind: function bind(el, binding, vnode) {
- el.addEventListener(binding.modifiers.click ? "click" : "contextmenu", function (e) {
- if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
- if (binding.modifiers.click) e.stopPropagation();
- e.preventDefault();
- popover.methods.closeAll();
- var component;
- var visibleItems = [];
- if (binding.modifiers.message) component = vnode.context;else if (binding.modifiers.contact) component = vnode.child;
- if (!contextmenu_popover) {
- contextmenu_popover = document.createElement("div");
- contextmenu_popover.className = "lemon-contextmenu";
- document.body.appendChild(contextmenu_popover);
- }
- contextmenu_popover.innerHTML = binding.value.map(function (item) {
- var visible;
- if (isFunction(item.visible)) {
- visible = item.visible(component);
- } else {
- visible = item.visible === undefined ? true : item.visible;
- }
- if (visible) {
- visibleItems.push(item);
- var icon = item.icon ? "<i class=\"lemon-contextmenu__icon ".concat(item.icon, "\"></i>") : "";
- return "<div style=\"color:".concat(item.color, "\" title=\"").concat(item.text, "\" class=\"lemon-contextmenu__item\">").concat(icon, "<span>").concat(item.text, "</span></div>");
- }
- return "";
- }).join("");
- contextmenu_popover.style.top = "".concat(e.pageY, "px");
- contextmenu_popover.style.left = "".concat(e.pageX, "px");
- contextmenu_popover.childNodes.forEach(function (node, index) {
- var _visibleItems$index = visibleItems[index],
- click = _visibleItems$index.click,
- render = _visibleItems$index.render;
- node.addEventListener("click", function (e) {
- e.stopPropagation();
- if (isFunction(click)) click(e, component, hidePopover);
- }); // if (isFunction(render)) {
- // const ins = Vue.extend({
- // render: h => {
- // return render(h, component, hidePopover);
- // },
- // });
- // const renderComponent = new ins().$mount();
- // node.querySelector("span").innerHTML =
- // renderComponent.$el.outerHTML;
- // }
- });
- showPopover();
- });
- }
- });
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/tabs.vue?vue&type=script&lang=js&
- /* harmony default export */ var tabsvue_type_script_lang_js_ = ({
- name: "LemonTabs",
- props: {
- activeIndex: String
- },
- data: function data() {
- return {
- active: this.activeIndex
- };
- },
- mounted: function mounted() {
- if (!this.active) {
- this.active = this.$slots["tab-pane"][0].data.attrs.index;
- }
- },
- render: function render() {
- var _this = this;
- var h = arguments[0];
- var pane = [];
- var nav = [];
- this.$slots["tab-pane"].map(function (vnode) {
- var _vnode$data$attrs = vnode.data.attrs,
- tab = _vnode$data$attrs.tab,
- index = _vnode$data$attrs.index;
- pane.push(h("div", {
- "class": "lemon-tabs-content__pane",
- "directives": [{
- name: "show",
- value: _this.active == index
- }]
- }, [vnode]));
- nav.push(h("div", {
- "class": ["lemon-tabs-nav__item", _this.active == index && "lemon-tabs-nav__item--active"],
- "on": {
- "click": function click() {
- return _this._handleNavClick(index);
- }
- }
- }, [tab]));
- });
- return h("div", {
- "class": "lemon-tabs"
- }, [h("div", {
- "class": "lemon-tabs-content"
- }, [pane]), h("div", {
- "class": "lemon-tabs-nav"
- }, [nav])]);
- },
- methods: {
- _handleNavClick: function _handleNavClick(index) {
- this.active = index;
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/tabs.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_tabsvue_type_script_lang_js_ = (tabsvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/tabs.vue?vue&type=style&index=0&lang=stylus&
- var tabsvue_type_style_index_0_lang_stylus_ = __webpack_require__("3423");
- // CONCATENATED MODULE: ./packages/components/tabs.vue
- var tabs_render, tabs_staticRenderFns
- /* normalize component */
- var tabs_component = normalizeComponent(
- components_tabsvue_type_script_lang_js_,
- tabs_render,
- tabs_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var tabs = (tabs_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/button.vue?vue&type=script&lang=js&
- /* harmony default export */ var buttonvue_type_script_lang_js_ = ({
- name: "LemonButton",
- props: {
- color: {
- type: String,
- default: "default"
- },
- disabled: Boolean
- },
- render: function render() {
- var h = arguments[0];
- return h("button", {
- "class": ["lemon-button", "lemon-button--color-".concat(this.color)],
- "attrs": {
- "disabled": this.disabled,
- "type": "button"
- },
- "on": {
- "click": this._handleClick
- }
- }, [this.$slots.default]);
- },
- methods: {
- _handleClick: function _handleClick(e) {
- this.$emit("click", e);
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/button.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_buttonvue_type_script_lang_js_ = (buttonvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/button.vue?vue&type=style&index=0&lang=stylus&
- var buttonvue_type_style_index_0_lang_stylus_ = __webpack_require__("1e45");
- // CONCATENATED MODULE: ./packages/components/button.vue
- var button_render, button_staticRenderFns
- /* normalize component */
- var button_component = normalizeComponent(
- components_buttonvue_type_script_lang_js_,
- button_render,
- button_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var components_button = (button_component.exports);
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
- var es6_number_constructor = __webpack_require__("c5f6");
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/badge.vue?vue&type=script&lang=js&
- /* harmony default export */ var badgevue_type_script_lang_js_ = ({
- name: "LemonBadge",
- props: {
- count: [Number, Boolean],
- overflowCount: {
- type: Number,
- default: 99
- }
- },
- render: function render() {
- var h = arguments[0];
- return h("span", {
- "class": "lemon-badge"
- }, [this.$slots.default, this.count !== 0 && this.count !== undefined && h("span", {
- "class": ["lemon-badge__label", this.isDot && "lemon-badge__label--dot"]
- }, [this.label])]);
- },
- computed: {
- isDot: function isDot() {
- return this.count === true;
- },
- label: function label() {
- if (this.isDot) return "";
- return this.count > this.overflowCount ? "".concat(this.overflowCount, "+") : this.count;
- }
- },
- methods: {}
- });
- // CONCATENATED MODULE: ./packages/components/badge.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_badgevue_type_script_lang_js_ = (badgevue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/badge.vue?vue&type=style&index=0&lang=stylus&
- var badgevue_type_style_index_0_lang_stylus_ = __webpack_require__("dbdc");
- // CONCATENATED MODULE: ./packages/components/badge.vue
- var badge_render, badge_staticRenderFns
- /* normalize component */
- var badge_component = normalizeComponent(
- components_badgevue_type_script_lang_js_,
- badge_render,
- badge_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var badge = (badge_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/avatar.vue?vue&type=script&lang=js&
- /* harmony default export */ var avatarvue_type_script_lang_js_ = ({
- name: "LemonAvatar",
- inject: ["IMUI"],
- props: {
- src: String,
- icon: {
- type: String,
- default: "lemon-icon-people"
- },
- circle: {
- type: Boolean,
- default: function _default() {
- return this.IMUI ? this.IMUI.avatarCricle : false;
- }
- },
- size: {
- type: Number,
- default: 32
- }
- },
- data: function data() {
- return {
- imageFinishLoad: true
- };
- },
- render: function render() {
- var _this = this;
- var h = arguments[0];
- return h("span", {
- "style": this.style,
- "class": ["lemon-avatar", {
- "lemon-avatar--circle": this.circle
- }],
- "on": {
- "click": function click(e) {
- return _this.$emit("click", e);
- }
- }
- }, [(this.imageFinishLoad || !this.src) && h("i", {
- "class": this.icon
- }), h("img", {
- "attrs": {
- "src": this.src
- },
- "on": {
- "load": this._handleLoad
- }
- })]);
- },
- computed: {
- style: function style() {
- var size = "".concat(this.size, "px");
- return {
- width: size,
- height: size,
- lineHeight: size,
- fontSize: "".concat(this.size / 2, "px")
- };
- }
- },
- methods: {
- _handleLoad: function _handleLoad() {
- this.imageFinishLoad = false;
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/avatar.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/avatar.vue?vue&type=style&index=0&lang=stylus&
- var avatarvue_type_style_index_0_lang_stylus_ = __webpack_require__("04f4");
- // CONCATENATED MODULE: ./packages/components/avatar.vue
- var avatar_render, avatar_staticRenderFns
- /* normalize component */
- var avatar_component = normalizeComponent(
- components_avatarvue_type_script_lang_js_,
- avatar_render,
- avatar_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var avatar = (avatar_component.exports);
- // EXTERNAL MODULE: ./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js
- var helper = __webpack_require__("2638");
- var helper_default = /*#__PURE__*/__webpack_require__.n(helper);
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
- var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
- var define_property = __webpack_require__("85f2");
- var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js
- function _defineProperty(obj, key, value) {
- if (key in obj) {
- define_property_default()(obj, key, {
- value: value,
- enumerable: true,
- configurable: true,
- writable: true
- });
- } else {
- obj[key] = value;
- }
- return obj;
- }
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
- var es6_regexp_replace = __webpack_require__("a481");
- // CONCATENATED MODULE: ./packages/utils/index.js
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
- function messageToHtml() {}
- function messageToText() {}
- /**
- * 使用某个组件上的作用域插槽
- * @param {VueComponent} inject
- * @param {String} slotName
- * @param {Node} defaultElement
- * @param {Object} props
- */
- function useScopedSlot(slot, def, props) {
- return slot ? slot(props) : def;
- }
- function padZero(val) {
- return val < 10 ? "0".concat(val) : val;
- }
- function hoursTimeFormat(t) {
- var date = new Date(t);
- var nowDate = new Date();
- var Y = function Y(t) {
- return t.getFullYear();
- };
- var MD = function MD(t) {
- return "".concat(t.getMonth() + 1, "-").concat(t.getDate());
- };
- var dateY = Y(date);
- var nowDateY = Y(nowDate);
- var format;
- if (dateY !== nowDateY) {
- format = "y年m月d日 h:i";
- } else if ("".concat(dateY, "-").concat(MD(date)) === "".concat(nowDateY, "-").concat(MD(nowDate))) {
- format = "h:i";
- } else {
- format = "m月d日 h:i";
- }
- return timeFormat(t, format);
- }
- function timeFormat(t, format) {
- if (!format) format = "y-m-d h:i:s";
- if (t) t = new Date(t);else t = new Date();
- var formatArr = [t.getFullYear().toString(), padZero((t.getMonth() + 1).toString()), padZero(t.getDate().toString()), padZero(t.getHours().toString()), padZero(t.getMinutes().toString()), padZero(t.getSeconds().toString())];
- var reg = "ymdhis";
- for (var i = 0; i < formatArr.length; i++) {
- format = format.replace(reg.charAt(i), formatArr[i]);
- }
- return format;
- }
- function funCall(event, callback) {
- if (isFunction(event)) {
- event(function () {
- callback();
- });
- } else {
- callback();
- }
- }
- /**
- * 获取数组相交的值组成新数组
- * @param {Array} a
- * @param {Array} b
- */
- function arrayIntersect(a, b) {
- return a.filter(function (x) {
- return b.includes(x);
- });
- } //清除字符串内的所有HTML标签
- function clearHtml(str) {
- return str.replace(/<.*?>/gi, "");
- } //清除字符串内的所有HTML标签,除了IMG
- function clearHtmlExcludeImg(str) {
- return str.replace(/<(?!img).*?>/gi, "");
- }
- function error(text) {
- throw new Error(text);
- }
- function cloneDeep(obj) {
- var newobj = _objectSpread({}, obj);
- for (var key in newobj) {
- var val = newobj[key];
- if (isPlainObject(val)) {
- newobj[key] = cloneDeep(val);
- }
- }
- return newobj;
- }
- function mergeDeep(o1, o2) {
- for (var key in o2) {
- if (isPlainObject(o1[key])) {
- o1[key] = mergeDeep(o1[key], o2[key]);
- } else {
- o1[key] = o2[key];
- }
- }
- return o1;
- }
- function formatByte(value) {
- if (null == value || value == "") {
- return "0 Bytes";
- }
- var unitArr = ["B", "K", "M", "G", "T", "P", "E", "Z", "Y"];
- var index = 0;
- var srcsize = parseFloat(value);
- index = Math.floor(Math.log(srcsize) / Math.log(1024));
- var size = srcsize / Math.pow(1024, index);
- size = parseFloat(size.toFixed(2));
- return size + unitArr[index];
- }
- function generateUUID() {
- var d = new Date().getTime();
- if (window.performance && typeof window.performance.now === "function") {
- d += performance.now(); //use high-precision timer if available
- }
- var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
- var r = (d + Math.random() * 16) % 16 | 0;
- d = Math.floor(d / 16);
- return (c == "x" ? r : r & 0x3 | 0x8).toString(16);
- });
- return uuid;
- }
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/contact.vue?vue&type=script&lang=js&
- /* harmony default export */ var contactvue_type_script_lang_js_ = ({
- name: "LemonContact",
- components: {},
- inject: {
- IMUI: {
- from: "IMUI",
- default: function _default() {
- return this;
- }
- }
- },
- data: function data() {
- return {};
- },
- props: {
- contact: Object,
- simple: Boolean,
- timeFormat: {
- type: Function,
- default: function _default(val) {
- return timeFormat(val, isToday(val) ? "h:i" : "y/m/d");
- }
- }
- },
- render: function render() {
- var _this = this;
- var h = arguments[0];
- return h("div", {
- "class": ["lemon-contact", {
- "lemon-contact--name-center": this.simple
- }],
- "attrs": {
- "title": this.contact.displayName
- },
- "on": {
- "click": function click(e) {
- return _this._handleClick(e, _this.contact);
- }
- }
- }, [useScopedSlot(this.$scopedSlots.default, this._renderInner(), this.contact)]);
- },
- created: function created() {},
- mounted: function mounted() {},
- computed: {},
- watch: {},
- methods: {
- _renderInner: function _renderInner() {
- var h = this.$createElement;
- var contact = this.contact;
- return [h("lemon-badge", {
- "attrs": {
- "count": !this.simple ? contact.unread : 0
- },
- "class": "lemon-contact__avatar"
- }, [h("lemon-avatar", {
- "attrs": {
- "size": 40,
- "src": contact.avatar
- }
- })]), h("div", {
- "class": "lemon-contact__inner"
- }, [h("p", {
- "class": "lemon-contact__label"
- }, [h("span", {
- "class": "lemon-contact__name"
- }, [contact.displayName]), !this.simple && h("span", {
- "class": "lemon-contact__time"
- }, [this.timeFormat(contact.lastSendTime)])]), !this.simple && h("p", {
- "class": "lemon-contact__content"
- }, [isString(contact.lastContent) ? h("span", helper_default()([{}, {
- "domProps": {
- innerHTML: contact.lastContent
- }
- }])) : contact.lastContent])])];
- },
- _handleClick: function _handleClick(e, data) {
- this.$emit("click", data);
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/contact.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_contactvue_type_script_lang_js_ = (contactvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/contact.vue?vue&type=style&index=0&lang=stylus&
- var contactvue_type_style_index_0_lang_stylus_ = __webpack_require__("909e");
- // CONCATENATED MODULE: ./packages/components/contact.vue
- var contact_render, contact_staticRenderFns
- /* normalize component */
- var contact_component = normalizeComponent(
- components_contactvue_type_script_lang_js_,
- contact_render,
- contact_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var components_contact = (contact_component.exports);
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js
- var es6_string_iterator = __webpack_require__("5df3");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.from.js
- var es6_array_from = __webpack_require__("1c4c");
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/readOnlyError.js
- function _readOnlyError(name) {
- throw new Error("\"" + name + "\" is read-only");
- }
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/editor.vue?vue&type=script&lang=js&
- function editorvue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
- function editorvue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { editorvue_type_script_lang_js_ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { editorvue_type_script_lang_js_ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
- var command = function command(_command, val) {
- document.execCommand(_command, false, val);
- };
- var selection = window.getSelection();
- var range;
- var emojiData = [];
- var isInitTool = false;
- /* harmony default export */ var editorvue_type_script_lang_js_ = ({
- name: "LemonEditor",
- inject: {
- IMUI: {
- from: "IMUI",
- default: function _default() {
- return this;
- }
- }
- },
- components: {},
- props: {
- tools: {
- type: Array,
- default: function _default() {
- return [];
- }
- },
- sendText: {
- type: String,
- default: "发 送"
- },
- wrapKey: {
- type: Function,
- default: function _default(e) {
- return e.keyCode == 13 && e.ctrlKey == false && e.shiftKey == false;
- }
- },
- sendKey: {
- type: Function,
- default: function _default(e) {
- return e.keyCode == 13 && e.ctrlKey === true;
- }
- }
- },
- data: function data() {
- this.clipboardBlob = null;
- return {
- //剪切板图片URL
- clipboardUrl: "",
- submitDisabled: true,
- //proxyTools: [],
- accept: ""
- };
- },
- created: function created() {
- var _this = this;
- this.IMUI.$on("change-contact", function () {
- _this.closeClipboardImage();
- });
- },
- render: function render() {
- var _this2 = this;
- var h = arguments[0];
- var toolLeft = [];
- var toolRight = [];
- this.proxyTools.forEach(function (_ref) {
- var name = _ref.name,
- title = _ref.title,
- render = _ref.render,
- click = _ref.click,
- isRight = _ref.isRight;
- click = click || new Function();
- var classes = ["lemon-editor__tool-item", {
- "lemon-editor__tool-item--right": isRight
- }];
- var node;
- if (name == "emoji") {
- node = emojiData.length == 0 ? "" : h("lemon-popover", {
- "class": "lemon-editor__emoji"
- }, [h("template", {
- "slot": "content"
- }, [_this2._renderEmojiTabs()]), h("div", {
- "class": classes,
- "attrs": {
- "title": title
- }
- }, [render()])]);
- } else {
- node = h("div", {
- "class": classes,
- "on": {
- "click": click
- },
- "attrs": {
- "title": title
- }
- }, [render()]);
- }
- if (isRight) {
- toolRight.push(node);
- } else {
- toolLeft.push(node);
- }
- });
- return h("div", {
- "class": "lemon-editor"
- }, [this.clipboardUrl && h("div", {
- "class": "lemon-editor__clipboard-image"
- }, [h("img", {
- "attrs": {
- "src": this.clipboardUrl
- }
- }), h("div", [h("lemon-button", {
- "style": {
- marginRight: "10px"
- },
- "on": {
- "click": this.closeClipboardImage
- },
- "attrs": {
- "color": "grey"
- }
- }, ["\u53D6\u6D88"]), h("lemon-button", {
- "on": {
- "click": this.sendClipboardImage
- }
- }, ["\u53D1\u9001\u56FE\u7247"])])]), h("input", {
- "style": "display:none",
- "attrs": {
- "type": "file",
- "multiple": "multiple",
- "accept": this.accept
- },
- "ref": "fileInput",
- "on": {
- "change": this._handleChangeFile
- }
- }), h("div", {
- "class": "lemon-editor__tool"
- }, [h("div", {
- "class": "lemon-editor__tool-left"
- }, [toolLeft]), h("div", {
- "class": "lemon-editor__tool-right"
- }, [toolRight])]), h("div", {
- "class": "lemon-editor__inner"
- }, [h("div", {
- "class": "lemon-editor__input",
- "ref": "textarea",
- "attrs": {
- "contenteditable": "true",
- "spellcheck": "false"
- },
- "on": {
- "keyup": this._handleKeyup,
- "keydown": this._handleKeydown,
- "paste": this._handlePaste,
- "click": this._handleClick
- }
- })]), h("div", {
- "class": "lemon-editor__footer"
- }, [h("div", {
- "class": "lemon-editor__tip"
- }, [useScopedSlot(this.IMUI.$scopedSlots["editor-footer"], "使用 ctrl + enter 快捷发送消息")]), h("div", {
- "class": "lemon-editor__submit"
- }, [h("lemon-button", {
- "attrs": {
- "disabled": this.submitDisabled
- },
- "on": {
- "click": this._handleSend
- }
- }, [this.sendText])])])]);
- },
- computed: {
- proxyTools: function proxyTools() {
- var _this3 = this;
- var h = this.$createElement;
- console.log("this.tools", this.tools);
- if (!this.tools) return [];
- var defaultTools = [{
- name: "emoji",
- title: "表情",
- click: null,
- render: function render(menu) {
- return h("i", {
- "class": "lemon-icon-emoji"
- });
- }
- }, {
- name: "uploadFile",
- title: "文件上传",
- click: function click() {
- return _this3.selectFile("*");
- },
- render: function render(menu) {
- return h("i", {
- "class": "lemon-icon-folder"
- });
- }
- }, {
- name: "uploadImage",
- title: "图片上传",
- click: function click() {
- return _this3.selectFile("image/*");
- },
- render: function render(menu) {
- return h("i", {
- "class": "lemon-icon-image"
- });
- }
- }];
- var tools = [];
- if (Array.isArray(this.tools)) {
- var indexMap = {
- emoji: 0,
- uploadFile: 1,
- uploadImage: 2
- };
- var indexKeys = Object.keys(indexMap);
- tools = this.tools.map(function (item) {
- if (indexKeys.includes(item.name)) {
- return editorvue_type_script_lang_js_objectSpread({}, defaultTools[indexMap[item.name]], {}, item);
- }
- return item;
- });
- } else {
- tools = defaultTools;
- }
- return tools;
- }
- },
- methods: {
- closeClipboardImage: function closeClipboardImage() {
- this.clipboardUrl = "";
- this.clipboardBlob = null;
- },
- sendClipboardImage: function sendClipboardImage() {
- if (!this.clipboardBlob) return;
- this.$emit("upload", this.clipboardBlob);
- this.closeClipboardImage();
- },
- saveRangeToLast: function saveRangeToLast() {
- if (!range) {
- range = document.createRange();
- }
- range.selectNodeContents(textarea.value);
- range.collapse(false);
- selection.removeAllRanges();
- selection.addRange(range);
- },
- inertContent: function inertContent(val) {
- var toLast = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
- if (toLast) saveRangeToLast();
- this.focusRange();
- command("insertHTML", val);
- this.saveRange();
- },
- saveRange: function saveRange() {
- range = selection.getRangeAt(0);
- },
- focusRange: function focusRange() {
- this.$refs.textarea.focus();
- if (range) {
- selection.removeAllRanges();
- selection.addRange(range);
- }
- },
- _handleClick: function _handleClick() {
- this.saveRange();
- },
- _renderEmojiTabs: function _renderEmojiTabs() {
- var _this4 = this;
- var h = this.$createElement;
- var renderImageGrid = function renderImageGrid(items) {
- return items.map(function (item) {
- return h("img", {
- "attrs": {
- "src": item.src,
- "title": item.title
- },
- "class": "lemon-editor__emoji-item",
- "on": {
- "click": function click() {
- return _this4._handleSelectEmoji(item);
- }
- }
- });
- });
- };
- if (emojiData[0].label) {
- var nodes = emojiData.map(function (item, index) {
- return h("div", {
- "slot": "tab-pane",
- "attrs": {
- "index": index,
- "tab": item.label
- }
- }, [renderImageGrid(item.children)]);
- });
- return h("lemon-tabs", {
- "style": "width: 412px"
- }, [nodes]);
- } else {
- return h("div", {
- "class": "lemon-tabs-content",
- "style": "width:406px"
- }, [renderImageGrid(emojiData)]);
- }
- },
- _handleSelectEmoji: function _handleSelectEmoji(item) {
- this.inertContent("<img emoji-name=\"".concat(item.name, "\" src=\"").concat(item.src, "\"></img>"));
- this._checkSubmitDisabled();
- },
- selectFile: function () {
- var _selectFile = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee(accept) {
- return regeneratorRuntime.wrap(function _callee$(_context) {
- while (1) {
- switch (_context.prev = _context.next) {
- case 0:
- this.accept = accept;
- _context.next = 3;
- return this.$nextTick();
- case 3:
- this.$refs.fileInput.click();
- case 4:
- case "end":
- return _context.stop();
- }
- }
- }, _callee, this);
- }));
- function selectFile(_x) {
- return _selectFile.apply(this, arguments);
- }
- return selectFile;
- }(),
- _handlePaste: function _handlePaste(e) {
- e.preventDefault();
- var clipboardData = e.clipboardData || window.clipboardData;
- var text = clipboardData.getData("Text");
- if (text) {
- if (window.clipboardData) {
- this.$refs.textarea.innerHTML = text;
- } else {
- command("insertText", text);
- }
- } else {
- var _this$_getClipboardBl = this._getClipboardBlob(clipboardData),
- blob = _this$_getClipboardBl.blob,
- blobUrl = _this$_getClipboardBl.blobUrl;
- this.clipboardBlob = blob;
- this.clipboardUrl = blobUrl;
- }
- },
- _getClipboardBlob: function _getClipboardBlob(clipboard) {
- var blob, blobUrl;
- for (var i = 0; i < clipboard.items.length; ++i) {
- if (clipboard.items[i].kind == "file" && clipboard.items[i].type.indexOf("image/") !== -1) {
- blob = clipboard.items[i].getAsFile();
- blobUrl = (window.URL || window.webkitURL).createObjectURL(blob);
- }
- }
- return {
- blob: blob,
- blobUrl: blobUrl
- };
- },
- _handleKeyup: function _handleKeyup(e) {
- this.saveRange();
- this._checkSubmitDisabled();
- },
- _handleKeydown: function _handleKeydown(e) {
- var ATing = false;
- if (ATing) {
- if (e.keyCode == 38 || e.keyCode == 40) {
- e.preventDefault();
- if (e.keyCode == 38) {
- ATSelectedPrev();
- }
- if (e.keyCode == 40) {
- ATSelectedNext();
- }
- return;
- }
- if (e.keyCode == 13) {
- e.preventDefault();
- ATSelected();
- return;
- }
- if (e.keyCode == 37 || e.keyCode == 39) {
- ATPopupClose();
- }
- }
- if (e.keyCode == 13 || e.keyCode == 13 && e.shiftKey) {
- e.preventDefault();
- }
- if (this.wrapKey(e)) {
- e.preventDefault();
- command("insertLineBreak");
- }
- if (this.at && (e.key == "@" || e.shiftKey && e.keyCode == 229)) {
- setTimeout(function () {
- return ATing = (_readOnlyError("ATing"), true);
- }, 300);
- }
- if (this.submitDisabled == false && this.sendKey(e)) {
- this._handleSend();
- }
- },
- getFormatValue: function getFormatValue() {
- // return toEmojiName(
- // this.$refs.textarea.innerHTML
- // .replace(/<br>|<\/br>/, "")
- // .replace(/<div>|<p>/g, "\r\n")
- // .replace(/<\/div>|<\/p>/g, "")
- // );
- return this.IMUI.emojiImageToName(this.$refs.textarea.innerHTML);
- },
- _checkSubmitDisabled: function _checkSubmitDisabled() {
- this.submitDisabled = !clearHtmlExcludeImg(this.$refs.textarea.innerHTML.trim());
- },
- _handleSend: function _handleSend(e) {
- var text = this.getFormatValue();
- this.$emit("send", text);
- this.clear();
- this._checkSubmitDisabled();
- },
- _handleChangeFile: function _handleChangeFile(e) {
- var _this5 = this;
- var fileInput = this.$refs.fileInput;
- Array.from(fileInput.files).forEach(function (file) {
- _this5.$emit("upload", file);
- });
- fileInput.value = "";
- },
- clear: function clear() {
- this.$refs.textarea.innerHTML = "";
- },
- initEmoji: function initEmoji(data) {
- emojiData = data;
- this.$forceUpdate();
- },
- setValue: function setValue(val) {
- this.$refs.textarea.innerHTML = this.IMUI.emojiNameToImage(val);
- this._checkSubmitDisabled();
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/editor.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_editorvue_type_script_lang_js_ = (editorvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/editor.vue?vue&type=style&index=0&lang=stylus&
- var editorvue_type_style_index_0_lang_stylus_ = __webpack_require__("49c2");
- // CONCATENATED MODULE: ./packages/components/editor.vue
- var editor_render, editor_staticRenderFns
- /* normalize component */
- var editor_component = normalizeComponent(
- components_editorvue_type_script_lang_js_,
- editor_render,
- editor_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var editor = (editor_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/messages.vue?vue&type=script&lang=js&
- /* harmony default export */ var messagesvue_type_script_lang_js_ = ({
- name: "LemonMessages",
- components: {},
- props: {
- //是否隐藏消息发送人昵称
- hideName: Boolean,
- //是否隐藏显示消息时间
- hideTime: Boolean,
- reverseUserId: [String, Number],
- timeRange: {
- type: Number,
- default: 1
- },
- timeFormat: {
- type: Function,
- default: function _default(val) {
- return hoursTimeFormat(val);
- }
- },
- loadingText: {
- type: [String, Function]
- },
- loadendText: {
- type: [String, Function],
- default: "暂无更多消息"
- },
- messages: {
- type: Array,
- default: function _default() {
- return [];
- }
- }
- },
- data: function data() {
- this._lockScroll = false;
- return {
- _loading: false,
- _loadend: false
- };
- },
- render: function render() {
- var _this = this;
- var h = arguments[0];
- return h("div", {
- "class": "lemon-messages",
- "ref": "wrap",
- "on": {
- "scroll": this._handleScroll
- }
- }, [h("div", {
- "class": ["lemon-messages__load", "lemon-messages__load--".concat(this._loadend ? "end" : "ing")]
- }, [h("span", {
- "class": "lemon-messages__loadend"
- }, [isString(this.loadendText) ? this.loadendText : this.loadendText()]), h("span", {
- "class": "lemon-messages__loading"
- }, [this.loadingText ? isString(this.loadingText) ? this.loadingText : this.loadingText() : h("i", {
- "class": "lemon-icon-loading lemonani-spin"
- })])]), this.messages.map(function (message, index) {
- var node = [];
- var tagName = "lemon-message-".concat(message.type);
- var prev = _this.messages[index - 1];
- if (prev && _this.msecRange && message.sendTime - prev.sendTime > _this.msecRange) {
- node.push(h("lemon-message-event", helper_default()([{}, {
- "attrs": {
- message: {
- id: "__time__",
- type: "event",
- content: hoursTimeFormat(message.sendTime)
- }
- }
- }])));
- }
- var attrs;
- if (message.type == "event") {
- attrs = {
- message: message
- };
- } else {
- attrs = {
- timeFormat: _this.timeFormat,
- message: message,
- reverse: _this.reverseUserId == message.fromUser.id,
- hideTime: _this.hideTime,
- hideName: _this.hideName
- };
- }
- node.push(h(tagName, helper_default()([{
- "ref": "message",
- "refInFor": true
- }, {
- "attrs": attrs
- }])));
- return node;
- })]);
- },
- computed: {
- msecRange: function msecRange() {
- return this.timeRange * 1000 * 60;
- }
- },
- watch: {},
- methods: {
- loaded: function loaded() {
- this._loadend = true;
- this.$forceUpdate();
- },
- resetLoadState: function resetLoadState() {
- var _this2 = this;
- this._lockScroll = true;
- this._loading = false;
- this._loadend = false;
- setTimeout(function () {
- _this2._lockScroll = false;
- }, 200);
- },
- _handleScroll: function () {
- var _handleScroll2 = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee2(e) {
- var _this3 = this;
- var target, hst;
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
- while (1) {
- switch (_context2.prev = _context2.next) {
- case 0:
- if (!this._lockScroll) {
- _context2.next = 2;
- break;
- }
- return _context2.abrupt("return");
- case 2:
- target = e.target;
- contextmenu.hide();
- if (!(target.scrollTop == 0 && this._loading == false && this._loadend == false)) {
- _context2.next = 10;
- break;
- }
- this._loading = true;
- _context2.next = 8;
- return this.$nextTick();
- case 8:
- hst = target.scrollHeight;
- this.$emit("reach-top",
- /*#__PURE__*/
- function () {
- var _ref = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee(isEnd) {
- return regeneratorRuntime.wrap(function _callee$(_context) {
- while (1) {
- switch (_context.prev = _context.next) {
- case 0:
- _context.next = 2;
- return _this3.$nextTick();
- case 2:
- target.scrollTop = target.scrollHeight - hst;
- _this3._loading = false;
- _this3._loadend = !!isEnd;
- case 5:
- case "end":
- return _context.stop();
- }
- }
- }, _callee);
- }));
- return function (_x2) {
- return _ref.apply(this, arguments);
- };
- }());
- case 10:
- case "end":
- return _context2.stop();
- }
- }
- }, _callee2, this);
- }));
- function _handleScroll(_x) {
- return _handleScroll2.apply(this, arguments);
- }
- return _handleScroll;
- }(),
- scrollToBottom: function () {
- var _scrollToBottom = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee3() {
- var wrap;
- return regeneratorRuntime.wrap(function _callee3$(_context3) {
- while (1) {
- switch (_context3.prev = _context3.next) {
- case 0:
- _context3.next = 2;
- return this.$nextTick();
- case 2:
- wrap = this.$refs.wrap;
- if (wrap) {
- wrap.scrollTop = wrap.scrollHeight;
- }
- case 4:
- case "end":
- return _context3.stop();
- }
- }
- }, _callee3, this);
- }));
- function scrollToBottom() {
- return _scrollToBottom.apply(this, arguments);
- }
- return scrollToBottom;
- }()
- },
- created: function created() {},
- mounted: function mounted() {}
- });
- // CONCATENATED MODULE: ./packages/components/messages.vue?vue&type=script&lang=js&
- /* harmony default export */ var components_messagesvue_type_script_lang_js_ = (messagesvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/messages.vue?vue&type=style&index=0&lang=stylus&
- var messagesvue_type_style_index_0_lang_stylus_ = __webpack_require__("436f");
- // CONCATENATED MODULE: ./packages/components/messages.vue
- var messages_render, messages_staticRenderFns
- /* normalize component */
- var messages_component = normalizeComponent(
- components_messagesvue_type_script_lang_js_,
- messages_render,
- messages_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var messages = (messages_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/message/basic.vue?vue&type=script&lang=js&
- /* harmony default export */ var basicvue_type_script_lang_js_ = ({
- name: "lemonMessageBasic",
- inject: {
- IMUI: {
- from: "IMUI",
- default: function _default() {
- return this;
- }
- }
- },
- props: {
- contextmenu: Array,
- message: {
- type: Object,
- default: function _default() {
- return {};
- }
- },
- timeFormat: {
- type: Function,
- default: function _default() {
- return "";
- }
- },
- reverse: Boolean,
- hideName: Boolean,
- hideTime: Boolean
- },
- data: function data() {
- return {};
- },
- render: function render() {
- var _this = this;
- var h = arguments[0];
- var _this$message = this.message,
- fromUser = _this$message.fromUser,
- status = _this$message.status,
- sendTime = _this$message.sendTime;
- var hideTitle = this.hideName == true && this.hideTime == true;
- return h("div", {
- "class": ["lemon-message", "lemon-message--status-".concat(status), {
- "lemon-message--reverse": this.reverse,
- "lemon-message--hide-title": hideTitle
- }]
- }, [h("div", {
- "class": "lemon-message__avatar"
- }, [h("lemon-avatar", {
- "attrs": {
- "size": 36,
- "shape": "square",
- "src": fromUser.avatar
- },
- "on": {
- "click": function click(e) {
- _this._emitClick(e, "avatar");
- }
- }
- })]), h("div", {
- "class": "lemon-message__inner"
- }, [h("div", {
- "class": "lemon-message__title"
- }, [this.hideName == false && h("span", {
- "on": {
- "click": function click(e) {
- _this._emitClick(e, "displayName");
- }
- }
- }, [fromUser.displayName]), this.hideTime == false && h("span", {
- "class": "lemon-message__time",
- "on": {
- "click": function click(e) {
- _this._emitClick(e, "sendTime");
- }
- }
- }, [this.timeFormat(sendTime)])]), h("div", {
- "class": "lemon-message__content-flex"
- }, [h("div", {
- "directives": [{
- name: "lemon-contextmenu",
- value: this.IMUI.contextmenu,
- modifiers: {
- "message": true
- }
- }],
- "class": "lemon-message__content",
- "on": {
- "click": function click(e) {
- _this._emitClick(e, "content");
- }
- }
- }, [useScopedSlot(this.$scopedSlots["content"], null, this.message)]), h("div", {
- "class": "lemon-message__content-after"
- }, [useScopedSlot(this.IMUI.$scopedSlots["message-after"], null, this.message)]), h("div", {
- "class": "lemon-message__status",
- "on": {
- "click": function click(e) {
- _this._emitClick(e, "status");
- }
- }
- }, [h("i", {
- "class": "lemon-icon-loading lemonani-spin"
- }), h("i", {
- "class": "lemon-icon-prompt",
- "attrs": {
- "title": "重发消息"
- },
- "style": {
- color: "#ff2525",
- cursor: "pointer"
- }
- })])])])]);
- },
- created: function created() {},
- mounted: function mounted() {},
- computed: {},
- watch: {},
- methods: {
- _emitClick: function _emitClick(e, key) {
- this.IMUI.$emit("message-click", e, key, this.message, this.IMUI);
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/message/basic.vue?vue&type=script&lang=js&
- /* harmony default export */ var message_basicvue_type_script_lang_js_ = (basicvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/message/basic.vue?vue&type=style&index=0&lang=stylus&
- var basicvue_type_style_index_0_lang_stylus_ = __webpack_require__("fbd1");
- // CONCATENATED MODULE: ./packages/components/message/basic.vue
- var basic_render, basic_staticRenderFns
- /* normalize component */
- var basic_component = normalizeComponent(
- message_basicvue_type_script_lang_js_,
- basic_render,
- basic_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var basic = (basic_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/message/text.vue?vue&type=script&lang=js&
- function textvue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
- function textvue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { textvue_type_script_lang_js_ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { textvue_type_script_lang_js_ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
- /* harmony default export */ var textvue_type_script_lang_js_ = ({
- name: "lemonMessageText",
- inheritAttrs: false,
- inject: ["IMUI"],
- render: function render() {
- var _this = this;
- var h = arguments[0];
- return h("lemon-message-basic", helper_default()([{
- "class": "lemon-message-text"
- }, {
- "props": textvue_type_script_lang_js_objectSpread({}, this.$attrs)
- }, {
- "scopedSlots": {
- content: function content(props) {
- var content = _this.IMUI.emojiNameToImage(props.content);
- return h("span", helper_default()([{}, {
- "domProps": {
- innerHTML: content
- }
- }]));
- }
- }
- }]));
- }
- });
- // CONCATENATED MODULE: ./packages/components/message/text.vue?vue&type=script&lang=js&
- /* harmony default export */ var message_textvue_type_script_lang_js_ = (textvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/message/text.vue?vue&type=style&index=0&lang=stylus&
- var textvue_type_style_index_0_lang_stylus_ = __webpack_require__("1663");
- // CONCATENATED MODULE: ./packages/components/message/text.vue
- var text_render, text_staticRenderFns
- /* normalize component */
- var text_component = normalizeComponent(
- message_textvue_type_script_lang_js_,
- text_render,
- text_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var message_text = (text_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/message/image.vue?vue&type=script&lang=js&
- function imagevue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
- function imagevue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { imagevue_type_script_lang_js_ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { imagevue_type_script_lang_js_ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
- /* harmony default export */ var imagevue_type_script_lang_js_ = ({
- name: "lemonMessageImage",
- inheritAttrs: false,
- render: function render() {
- var h = arguments[0];
- return h("lemon-message-basic", helper_default()([{
- "class": "lemon-message-image"
- }, {
- "props": imagevue_type_script_lang_js_objectSpread({}, this.$attrs)
- }, {
- "scopedSlots": {
- content: function content(props) {
- return h("img", {
- "attrs": {
- "src": props.content
- }
- });
- }
- }
- }]));
- }
- });
- // CONCATENATED MODULE: ./packages/components/message/image.vue?vue&type=script&lang=js&
- /* harmony default export */ var message_imagevue_type_script_lang_js_ = (imagevue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/message/image.vue?vue&type=style&index=0&lang=stylus&
- var imagevue_type_style_index_0_lang_stylus_ = __webpack_require__("4d21");
- // CONCATENATED MODULE: ./packages/components/message/image.vue
- var image_render, image_staticRenderFns
- /* normalize component */
- var image_component = normalizeComponent(
- message_imagevue_type_script_lang_js_,
- image_render,
- image_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var message_image = (image_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/message/file.vue?vue&type=script&lang=js&
- function filevue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
- function filevue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { filevue_type_script_lang_js_ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { filevue_type_script_lang_js_ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
- /* harmony default export */ var filevue_type_script_lang_js_ = ({
- name: "lemonMessageFile",
- inheritAttrs: false,
- render: function render() {
- var h = arguments[0];
- return h("lemon-message-basic", helper_default()([{
- "class": "lemon-message-file"
- }, {
- "props": filevue_type_script_lang_js_objectSpread({}, this.$attrs)
- }, {
- "scopedSlots": {
- content: function content(props) {
- return [h("div", {
- "class": "lemon-message-file__inner"
- }, [h("p", {
- "class": "lemon-message-file__name"
- }, [props.fileName]), h("p", {
- "class": "lemon-message-file__byte"
- }, [formatByte(props.fileSize)])]), h("div", {
- "class": "lemon-message-file__sfx"
- }, [h("i", {
- "class": "lemon-icon-attah"
- })])];
- }
- }
- }]));
- }
- });
- // CONCATENATED MODULE: ./packages/components/message/file.vue?vue&type=script&lang=js&
- /* harmony default export */ var message_filevue_type_script_lang_js_ = (filevue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/message/file.vue?vue&type=style&index=0&lang=stylus&
- var filevue_type_style_index_0_lang_stylus_ = __webpack_require__("cfab");
- // CONCATENATED MODULE: ./packages/components/message/file.vue
- var file_render, file_staticRenderFns
- /* normalize component */
- var file_component = normalizeComponent(
- message_filevue_type_script_lang_js_,
- file_render,
- file_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var file = (file_component.exports);
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/message/event.vue?vue&type=script&lang=js&
- /* harmony default export */ var eventvue_type_script_lang_js_ = ({
- name: "lemonMessageEvent",
- inheritAttrs: false,
- inject: ["IMUI"],
- render: function render() {
- var _this = this;
- var h = arguments[0];
- var content = this.$attrs.message.content;
- return h("div", {
- "class": "lemon-message lemon-message-event"
- }, [h("span", {
- "class": "lemon-message-event__content",
- "on": {
- "click": function click(e) {
- return _this._emitClick(e, "content");
- }
- }
- }, [content])]);
- },
- methods: {
- _emitClick: function _emitClick(e, key) {
- this.IMUI.$emit("message-click", e, key, this.$attrs.message, this.IMUI);
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/message/event.vue?vue&type=script&lang=js&
- /* harmony default export */ var message_eventvue_type_script_lang_js_ = (eventvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/message/event.vue?vue&type=style&index=0&lang=stylus&
- var eventvue_type_style_index_0_lang_stylus_ = __webpack_require__("ed4b");
- // CONCATENATED MODULE: ./packages/components/message/event.vue
- var event_render, event_staticRenderFns
- /* normalize component */
- var event_component = normalizeComponent(
- message_eventvue_type_script_lang_js_,
- event_render,
- event_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var message_event = (event_component.exports);
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find-index.js
- var es6_array_find_index = __webpack_require__("20d6");
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
- var is_array = __webpack_require__("a745");
- var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
- function _arrayWithoutHoles(arr) {
- if (is_array_default()(arr)) {
- for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
- }
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/from.js
- var from = __webpack_require__("774e");
- var from_default = /*#__PURE__*/__webpack_require__.n(from);
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/is-iterable.js
- var is_iterable = __webpack_require__("c8bb");
- var is_iterable_default = /*#__PURE__*/__webpack_require__.n(is_iterable);
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArray.js
- function _iterableToArray(iter) {
- if (is_iterable_default()(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return from_default()(iter);
- }
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableSpread.js
- function _nonIterableSpread() {
- throw new TypeError("Invalid attempt to spread non-iterable instance");
- }
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toConsumableArray.js
- function _toConsumableArray(arr) {
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
- }
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.starts-with.js
- var es6_string_starts_with = __webpack_require__("f559");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.sort.js
- var es6_array_sort = __webpack_require__("55dd");
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
- var es6_array_find = __webpack_require__("7514");
- // CONCATENATED MODULE: ./packages/utils/constant.js
- var EMIT_AVATAR_CLICK = "avatar-click";
- var DEFAULT_MENU_LASTMESSAGES = "messages";
- var DEFAULT_MENU_CONTACTS = "contacts";
- var DEFAULT_MENUS = [DEFAULT_MENU_LASTMESSAGES, DEFAULT_MENU_CONTACTS];
- /**
- * 聊天消息类型
- */
- var MESSAGE_TYPE = ["voice", "file", "video", "image", "text"];
- /**
- * 聊天消息状态
- */
- var MESSAGE_STATUS = ["going", "succeed", "failed"];
- var CONTACT_TYPE = ["many", "single"];
- // CONCATENATED MODULE: ./packages/lastContentRender.js
- /* harmony default export */ var packages_lastContentRender = ({
- file: function file(message) {
- return "[文件]";
- },
- image: function image(message) {
- return "[图片]";
- },
- text: function text(message) {
- return this.emojiNameToImage(clearHtml(message.content));
- },
- event: function event(message) {
- return '[通知]';
- }
- });
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/classCallCheck.js
- function _classCallCheck(instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
- }
- // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
- function _defineProperties(target, props) {
- for (var i = 0; i < props.length; i++) {
- var descriptor = props[i];
- descriptor.enumerable = descriptor.enumerable || false;
- descriptor.configurable = true;
- if ("value" in descriptor) descriptor.writable = true;
- define_property_default()(target, descriptor.key, descriptor);
- }
- }
- function _createClass(Constructor, protoProps, staticProps) {
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
- if (staticProps) _defineProperties(Constructor, staticProps);
- return Constructor;
- }
- // CONCATENATED MODULE: ./packages/utils/cache/memory.js
- var memory_MemoryCache =
- /*#__PURE__*/
- function () {
- function MemoryCache() {
- _classCallCheck(this, MemoryCache);
- this.table = {};
- }
- _createClass(MemoryCache, [{
- key: "get",
- value: function get(key) {
- return key ? this.table[key] : this.table;
- }
- }, {
- key: "set",
- value: function set(key, val) {
- this.table[key] = val;
- } // setOnly(key, val) {
- // if (!this.has(key)) this.set(key, val);
- // }
- }, {
- key: "remove",
- value: function remove(key) {
- if (key) {
- delete this.table[key];
- } else {
- this.table = {};
- }
- }
- }, {
- key: "has",
- value: function has(key) {
- return !!this.table[key];
- }
- }]);
- return MemoryCache;
- }();
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/index.vue?vue&type=script&lang=js&
- function componentsvue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
- function componentsvue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { componentsvue_type_script_lang_js_ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { componentsvue_type_script_lang_js_ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
- var allMessages = {};
- var emojiMap = {};
- var componentsvue_type_script_lang_js_toPx = function toPx(val) {
- return isString(val) ? val : "".concat(val, "px");
- };
- var toPoint = function toPoint(str) {
- return str.replace("%", "") / 100;
- };
- var renderDrawerContent = function renderDrawerContent() {};
- /* harmony default export */ var componentsvue_type_script_lang_js_ = ({
- name: "LemonImui",
- provide: function provide() {
- return {
- IMUI: this
- };
- },
- props: {
- width: {
- type: [String, Number],
- default: 850
- },
- height: {
- type: [String, Number],
- default: 580
- },
- theme: {
- type: String,
- default: "default"
- },
- simple: {
- type: Boolean,
- default: false
- },
- loadingText: [String, Function],
- loadendText: [String, Function],
- /**
- * 消息时间格式化规则
- */
- messageTimeFormat: Function,
- /**
- * 联系人最新消息时间格式化规则
- */
- contactTimeFormat: Function,
- /**
- * 初始化时是否隐藏抽屉
- */
- hideDrawer: {
- type: Boolean,
- default: true
- },
- /**
- * 是否隐藏导航按钮上的头像
- */
- hideMenuAvatar: Boolean,
- hideMenu: Boolean,
- /**
- * 是否隐藏消息列表内的联系人名字
- */
- hideMessageName: Boolean,
- /**
- * 是否隐藏消息列表内的发送时间
- */
- hideMessageTime: Boolean,
- sendKey: Function,
- sendText: String,
- contextmenu: Array,
- contactContextmenu: Array,
- avatarCricle: Boolean,
- user: {
- type: Object,
- default: function _default() {
- return {};
- }
- }
- },
- data: function data() {
- this.CacheContactContainer = new memory_MemoryCache();
- this.CacheMenuContainer = new memory_MemoryCache();
- this.CacheMessageLoaded = new memory_MemoryCache();
- this.CacheDraft = new memory_MemoryCache();
- return {
- drawerVisible: !this.hideDrawer,
- currentContactId: null,
- currentMessages: [],
- activeSidebar: DEFAULT_MENU_LASTMESSAGES,
- contacts: [],
- menus: [],
- editorTools: [{
- name: "emoji"
- }, {
- name: "uploadFile"
- }, {
- name: "uploadImage"
- }]
- };
- },
- render: function render() {
- return this._renderWrapper([this._renderMenu(), this._renderSidebarMessage(), this._renderSidebarContact(), this._renderContainer(), this._renderDrawer()]);
- },
- created: function created() {
- this.initMenus();
- },
- mounted: function () {
- var _mounted = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee() {
- return regeneratorRuntime.wrap(function _callee$(_context) {
- while (1) {
- switch (_context.prev = _context.next) {
- case 0:
- _context.next = 2;
- return this.$nextTick();
- case 2:
- case "end":
- return _context.stop();
- }
- }
- }, _callee, this);
- }));
- function mounted() {
- return _mounted.apply(this, arguments);
- }
- return mounted;
- }(),
- computed: {
- currentContact: function currentContact() {
- var _this = this;
- return this.contacts.find(function (item) {
- return item.id == _this.currentContactId;
- }) || {};
- },
- currentMenu: function currentMenu() {
- var _this2 = this;
- return this.menus.find(function (item) {
- return item.name == _this2.activeSidebar;
- }) || {};
- },
- currentIsDefSidebar: function currentIsDefSidebar() {
- return DEFAULT_MENUS.includes(this.activeSidebar);
- },
- lastMessages: function lastMessages() {
- var data = this.contacts.filter(function (item) {
- return !isEmpty(item.lastContent);
- });
- data.sort(function (a1, a2) {
- return a2.lastSendTime - a1.lastSendTime;
- });
- return data;
- }
- },
- watch: {
- activeSidebar: function activeSidebar() {}
- },
- methods: {
- _menuIsContacts: function _menuIsContacts() {
- return this.activeSidebar == DEFAULT_MENU_CONTACTS;
- },
- _menuIsMessages: function _menuIsMessages() {
- return this.activeSidebar == DEFAULT_MENU_LASTMESSAGES;
- },
- _createMessage: function _createMessage(message) {
- return componentsvue_type_script_lang_js_objectSpread({}, {
- id: generateUUID(),
- type: "text",
- status: "going",
- sendTime: new Date().getTime(),
- toContactId: this.currentContactId,
- fromUser: componentsvue_type_script_lang_js_objectSpread({}, this.user)
- }, {}, message);
- },
- /**
- * 新增一条消息
- */
- appendMessage: function appendMessage(message) {
- var scrollToBottom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
- if (allMessages[message.toContactId] === undefined) {
- this.updateContact({
- id: message.toContactId,
- unread: "+1",
- lastSendTime: message.sendTime,
- lastContent: this.lastContentRender(message)
- });
- } else {
- this._addMessage(message, message.toContactId, 1);
- var updateContact = {
- id: message.toContactId,
- lastContent: this.lastContentRender(message),
- lastSendTime: message.sendTime
- };
- if (message.toContactId == this.currentContactId) {
- if (scrollToBottom == true) {
- this.messageViewToBottom();
- }
- this.CacheDraft.remove(message.toContactId);
- } else {
- updateContact.unread = "+1";
- }
- this.updateContact(updateContact);
- }
- },
- _emitSend: function _emitSend(message, next, file) {
- var _this3 = this;
- this.$emit("send", message, function () {
- var replaceMessage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
- status: "succeed"
- };
- next();
- _this3.updateMessage(Object.assign(message, replaceMessage));
- }, file);
- },
- _handleSend: function _handleSend(text) {
- var _this4 = this;
- var message = this._createMessage({
- content: text
- });
- this.appendMessage(message, true);
- this._emitSend(message, function () {
- _this4.updateContact({
- id: message.toContactId,
- lastContent: _this4.lastContentRender(message),
- lastSendTime: message.sendTime
- });
- _this4.CacheDraft.remove(message.toContactId);
- });
- },
- _handleUpload: function _handleUpload(file) {
- var _this5 = this;
- var imageTypes = ["image/gif", "image/jpeg", "image/png"];
- var joinMessage;
- if (imageTypes.includes(file.type)) {
- joinMessage = {
- type: "image",
- content: URL.createObjectURL(file)
- };
- } else {
- joinMessage = {
- type: "file",
- fileSize: file.size,
- fileName: file.name,
- content: ""
- };
- }
- var message = this._createMessage(joinMessage);
- this.appendMessage(message, true);
- this._emitSend(message, function () {
- _this5.updateContact({
- id: message.toContactId,
- lastContent: _this5.lastContentRender(message),
- lastSendTime: message.sendTime
- });
- }, file);
- },
- _emitPullMessages: function _emitPullMessages(next) {
- var _this6 = this;
- this._changeContactLock = true;
- this.$emit("pull-messages", this.currentContact, function () {
- var messages = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
- var isEnd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
- _this6._addMessage(messages, _this6.currentContactId, 0);
- _this6.CacheMessageLoaded.set(_this6.currentContactId, isEnd);
- if (isEnd == true) _this6.$refs.messages.loaded();
- _this6.updateCurrentMessages();
- _this6._changeContactLock = false;
- next(isEnd);
- }, this);
- },
- clearCacheContainer: function clearCacheContainer(name) {
- this.CacheContactContainer.remove(name);
- this.CacheMenuContainer.remove(name);
- },
- _renderWrapper: function _renderWrapper(children) {
- var h = this.$createElement;
- return h("div", {
- "style": {
- width: componentsvue_type_script_lang_js_toPx(this.width),
- height: componentsvue_type_script_lang_js_toPx(this.height)
- },
- "ref": "wrapper",
- "class": ["lemon-wrapper", "lemon-wrapper--theme-".concat(this.theme), {
- "lemon-wrapper--simple": this.simple
- }, this.drawerVisible && "lemon-wrapper--drawer-show"]
- }, [children]);
- },
- _renderMenu: function _renderMenu() {
- var _this7 = this;
- var h = this.$createElement;
- var menuItem = this._renderMenuItem();
- return h("div", {
- "class": "lemon-menu",
- "directives": [{
- name: "show",
- value: !this.hideMenu
- }]
- }, [h("lemon-avatar", {
- "directives": [{
- name: "show",
- value: !this.hideMenuAvatar
- }],
- "on": {
- "click": function click(e) {
- _this7.$emit("menu-avatar-click", e);
- }
- },
- "class": "lemon-menu__avatar",
- "attrs": {
- "src": this.user.avatar
- }
- }), menuItem.top, this.$slots.menu, h("div", {
- "class": "lemon-menu__bottom"
- }, [this.$slots["menu-bottom"], menuItem.bottom])]);
- },
- _renderMenuAvatar: function _renderMenuAvatar() {
- return;
- },
- _renderMenuItem: function _renderMenuItem() {
- var _this8 = this;
- var h = this.$createElement;
- var top = [];
- var bottom = [];
- this.menus.forEach(function (item) {
- var name = item.name,
- title = item.title,
- unread = item.unread,
- render = item.render,
- _click = item.click;
- var node = h("div", {
- "class": ["lemon-menu__item", {
- "lemon-menu__item--active": _this8.activeSidebar == name
- }],
- "on": {
- "click": function click() {
- funCall(_click, function () {
- if (name) _this8.changeMenu(name);
- });
- }
- },
- "attrs": {
- "title": title
- }
- }, [h("lemon-badge", {
- "attrs": {
- "count": unread
- }
- }, [render(item)])]);
- item.isBottom === true ? bottom.push(node) : top.push(node);
- });
- return {
- top: top,
- bottom: bottom
- };
- },
- _renderSidebarMessage: function _renderSidebarMessage() {
- var _this9 = this;
- return this._renderSidebar([useScopedSlot(this.$scopedSlots["sidebar-message-top"], null, this), this.lastMessages.map(function (contact) {
- return _this9._renderContact({
- contact: contact,
- timeFormat: _this9.contactTimeFormat
- }, function () {
- return _this9.changeContact(contact.id);
- }, _this9.$scopedSlots["sidebar-message"]);
- })], DEFAULT_MENU_LASTMESSAGES, useScopedSlot(this.$scopedSlots["sidebar-message-fixedtop"], null, this));
- },
- _renderContact: function _renderContact(props, onClick, slot) {
- var _this10 = this;
- var h = this.$createElement;
- var _props$contact = props.contact,
- customClick = _props$contact.click,
- renderContainer = _props$contact.renderContainer,
- contactId = _props$contact.id;
- var click = function click() {
- funCall(customClick, function () {
- onClick();
- _this10._customContainerReady(renderContainer, _this10.CacheContactContainer, contactId);
- });
- };
- return h("lemon-contact", helper_default()([{
- "class": {
- "lemon-contact--active": this.currentContactId == props.contact.id
- },
- "directives": [{
- name: "lemon-contextmenu",
- value: this.contactContextmenu,
- modifiers: {
- "contact": true
- }
- }]
- }, {
- "props": props
- }, {
- "on": {
- "click": click
- },
- "scopedSlots": {
- default: slot
- }
- }]));
- },
- _renderSidebarContact: function _renderSidebarContact() {
- var _this11 = this;
- var h = this.$createElement;
- var prevIndex;
- return this._renderSidebar([useScopedSlot(this.$scopedSlots["sidebar-contact-top"], null, this), this.contacts.map(function (contact) {
- if (!contact.index) return;
- contact.index = contact.index.replace(/\[[0-9]*\]/, "");
- var node = [contact.index !== prevIndex && h("p", {
- "class": "lemon-sidebar__label"
- }, [contact.index]), _this11._renderContact({
- contact: contact,
- simple: true
- }, function () {
- _this11.changeContact(contact.id);
- }, _this11.$scopedSlots["sidebar-contact"])];
- prevIndex = contact.index;
- return node;
- })], DEFAULT_MENU_CONTACTS, useScopedSlot(this.$scopedSlots["sidebar-contact-fixedtop"], null, this));
- },
- _renderSidebar: function _renderSidebar(children, name, fixedtop) {
- var h = this.$createElement;
- return h("div", {
- "class": "lemon-sidebar",
- "directives": [{
- name: "show",
- value: this.activeSidebar == name
- }],
- "on": {
- "scroll": this._handleSidebarScroll
- }
- }, [h("div", {
- "class": "lemon-sidebar__fixed-top"
- }, [fixedtop]), h("div", {
- "class": "lemon-sidebar__scroll"
- }, [children])]);
- },
- _renderDrawer: function _renderDrawer() {
- var h = this.$createElement;
- return this._menuIsMessages() && this.currentContactId ? h("div", {
- "class": "lemon-drawer",
- "ref": "drawer"
- }, [renderDrawerContent(this.currentContact), useScopedSlot(this.$scopedSlots.drawer, "", this.currentContact)]) : "";
- },
- _isContactContainerCache: function _isContactContainerCache(name) {
- return name.startsWith("contact#");
- },
- _renderContainer: function _renderContainer() {
- var _this12 = this;
- var h = this.$createElement;
- var nodes = [];
- var cls = "lemon-container";
- var curact = this.currentContact;
- var defIsShow = true;
- for (var name in this.CacheContactContainer.get()) {
- var show = curact.id == name && this.currentIsDefSidebar;
- defIsShow = !show;
- nodes.push(h("div", {
- "class": cls,
- "directives": [{
- name: "show",
- value: show
- }]
- }, [this.CacheContactContainer.get(name)]));
- }
- for (var _name in this.CacheMenuContainer.get()) {
- nodes.push(h("div", {
- "class": cls,
- "directives": [{
- name: "show",
- value: this.activeSidebar == _name && !this.currentIsDefSidebar
- }]
- }, [this.CacheMenuContainer.get(_name)]));
- }
- nodes.push(h("div", {
- "class": cls,
- "directives": [{
- name: "show",
- value: this._menuIsMessages() && defIsShow && curact.id
- }]
- }, [h("div", {
- "class": "lemon-container__title"
- }, [useScopedSlot(this.$scopedSlots["message-title"], h("div", {
- "class": "lemon-container__displayname"
- }, [curact.displayName]), curact)]), h("div", {
- "class": "lemon-vessel"
- }, [h("div", {
- "class": "lemon-vessel__left"
- }, [h("lemon-messages", {
- "ref": "messages",
- "attrs": {
- "loading-text": this.loadingText,
- "loadend-text": this.loadendText,
- "hide-time": this.hideMessageTime,
- "hide-name": this.hideMessageName,
- "time-format": this.messageTimeFormat,
- "reverse-user-id": this.user.id,
- "messages": this.currentMessages
- },
- "on": {
- "reach-top": this._emitPullMessages
- }
- }), h("lemon-editor", {
- "ref": "editor",
- "attrs": {
- "tools": this.editorTools,
- "sendText": this.sendText,
- "sendKey": this.sendKey
- },
- "on": {
- "send": this._handleSend,
- "upload": this._handleUpload
- }
- })]), h("div", {
- "class": "lemon-vessel__right"
- }, [useScopedSlot(this.$scopedSlots["message-side"], null, curact)])])]));
- nodes.push(h("div", {
- "class": cls,
- "directives": [{
- name: "show",
- value: !curact.id && this.currentIsDefSidebar
- }]
- }, [this.$slots.cover]));
- nodes.push(h("div", {
- "class": cls,
- "directives": [{
- name: "show",
- value: this._menuIsContacts() && defIsShow && curact.id
- }]
- }, [useScopedSlot(this.$scopedSlots["contact-info"], h("div", {
- "class": "lemon-contact-info"
- }, [h("lemon-avatar", {
- "attrs": {
- "src": curact.avatar,
- "size": 90
- }
- }), h("h4", [curact.displayName]), h("lemon-button", {
- "on": {
- "click": function click() {
- if (isEmpty(curact.lastContent)) {
- _this12.updateContact({
- id: curact.id,
- lastContent: " "
- });
- }
- _this12.changeContact(curact.id, DEFAULT_MENU_LASTMESSAGES);
- }
- }
- }, ["\u53D1\u9001\u6D88\u606F"])]), curact)]));
- return nodes;
- },
- _handleSidebarScroll: function _handleSidebarScroll() {
- contextmenu.hide();
- },
- _addContact: function _addContact(data, t) {
- var type = {
- 0: "unshift",
- 1: "push"
- }[t];
- this.contacts[type](data);
- },
- _addMessage: function _addMessage(data, contactId, t) {
- var _allMessages$contactI;
- var type = {
- 0: "unshift",
- 1: "push"
- }[t];
- if (!Array.isArray(data)) data = [data];
- allMessages[contactId] = allMessages[contactId] || [];
- (_allMessages$contactI = allMessages[contactId])[type].apply(_allMessages$contactI, _toConsumableArray(data));
- },
- /**
- * 设置最新消息DOM
- * @param {String} messageType 消息类型
- * @param {Function} render 返回消息 vnode
- */
- setLastContentRender: function setLastContentRender(messageType, render) {
- packages_lastContentRender[messageType] = render;
- },
- lastContentRender: function lastContentRender(message) {
- if (!isFunction(packages_lastContentRender[message.type])) {
- console.error("not found '".concat(message.type, "' of the latest message renderer,try to use \u2018setLastContentRender()\u2019"));
- return "";
- }
- return packages_lastContentRender[message.type].call(this, message);
- },
- /**
- * 将字符串内的 EmojiItem.name 替换为 img
- * @param {String} str 被替换的字符串
- * @return {String} 替换后的字符串
- */
- emojiNameToImage: function emojiNameToImage(str) {
- return str.replace(/\[!(\w+)\]/gi, function (str, match) {
- var file = match;
- return emojiMap[file] ? "<img emoji-name=\"".concat(match, "\" src=\"").concat(emojiMap[file], "\" />") : "[!".concat(match, "]");
- });
- },
- emojiImageToName: function emojiImageToName(str) {
- return str.replace(/<img emoji-name=\"([^\"]*?)\" [^>]*>/gi, "[!$1]");
- },
- updateCurrentMessages: function updateCurrentMessages() {
- if (!allMessages[this.currentContactId]) allMessages[this.currentContactId] = [];
- this.currentMessages = allMessages[this.currentContactId];
- },
- /**
- * 将当前聊天窗口滚动到底部
- */
- messageViewToBottom: function messageViewToBottom() {
- this.$refs.messages.scrollToBottom();
- },
- /**
- * 设置联系人的草稿信息
- */
- setDraft: function setDraft(cid, editorValue) {
- if (isEmpty(cid) || isEmpty(editorValue)) return false;
- var contact = this.findContact(cid);
- var lastContent = contact.lastContent;
- if (isEmpty(contact)) return false;
- if (this.CacheDraft.has(cid)) {
- lastContent = this.CacheDraft.get(cid).lastContent;
- }
- this.CacheDraft.set(cid, {
- editorValue: editorValue,
- lastContent: lastContent
- });
- this.updateContact({
- id: cid,
- lastContent: "<span style=\"color:red;\">[\u8349\u7A3F]</span><span>".concat(this.lastContentRender({
- type: "text",
- content: editorValue
- }), "</span>")
- });
- },
- /**
- * 清空联系人草稿信息
- */
- clearDraft: function clearDraft(contactId) {
- var draft = this.CacheDraft.get(contactId);
- if (draft) {
- var currentContent = this.findContact(contactId).lastContent;
- if (currentContent.indexOf('<span style="color:red;">[草稿]</span>') === 0) {
- this.updateContact({
- id: contactId,
- lastContent: draft.lastContent
- });
- }
- this.CacheDraft.remove(contactId);
- }
- },
- /**
- * 改变聊天对象
- * @param contactId 联系人 id
- */
- changeContact: function () {
- var _changeContact = _asyncToGenerator(
- /*#__PURE__*/
- regeneratorRuntime.mark(function _callee2(contactId, menuName) {
- var _this13 = this;
- var editorValue, draft;
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
- while (1) {
- switch (_context2.prev = _context2.next) {
- case 0:
- if (!menuName) {
- _context2.next = 4;
- break;
- }
- this.changeMenu(menuName);
- _context2.next = 6;
- break;
- case 4:
- if (!(this._changeContactLock || this.currentContactId == contactId)) {
- _context2.next = 6;
- break;
- }
- return _context2.abrupt("return", false);
- case 6:
- //保存上个聊天目标的草稿
- if (this.currentContactId) {
- editorValue = clearHtmlExcludeImg(this.getEditorValue()).trim();
- if (editorValue) {
- this.setDraft(this.currentContactId, editorValue);
- this.setEditorValue();
- } else {
- this.clearDraft(this.currentContactId);
- }
- }
- this.currentContactId = contactId;
- if (this.currentContactId) {
- _context2.next = 10;
- break;
- }
- return _context2.abrupt("return", false);
- case 10:
- this.$emit("change-contact", this.currentContact, this);
- if (!(isFunction(this.currentContact.renderContainer) || this.activeSidebar == DEFAULT_MENU_CONTACTS)) {
- _context2.next = 13;
- break;
- }
- return _context2.abrupt("return");
- case 13:
- //填充草稿内容
- draft = this.CacheDraft.get(contactId);
- if (draft) this.setEditorValue(draft.editorValue);
- if (this.CacheMessageLoaded.has(contactId)) {
- this.$refs.messages.loaded();
- } else {
- this.$refs.messages.resetLoadState();
- }
- if (!allMessages[contactId]) {
- this.updateCurrentMessages();
- this._emitPullMessages(function (isEnd) {
- _this13.messageViewToBottom();
- });
- } else {
- setTimeout(function () {
- _this13.updateCurrentMessages();
- _this13.messageViewToBottom();
- }, 0);
- }
- case 17:
- case "end":
- return _context2.stop();
- }
- }
- }, _callee2, this);
- }));
- function changeContact(_x, _x2) {
- return _changeContact.apply(this, arguments);
- }
- return changeContact;
- }(),
- /**
- * 删除一条聊天消息
- * @param messageId 消息 id
- * @param contactId 联系人 id
- */
- removeMessage: function removeMessage(messageId) {
- var message = this.findMessage(messageId);
- if (!message) return false;
- var index = allMessages[message.toContactId].findIndex(function (_ref) {
- var id = _ref.id;
- return id == messageId;
- });
- allMessages[message.toContactId].splice(index, 1);
- return true;
- },
- /**
- * 修改聊天一条聊天消息
- * @param {Message} data 根据 data.id 查找聊天消息并覆盖传入的值
- * @param contactId 联系人 id
- */
- updateMessage: function updateMessage(message) {
- if (!message.id) return false;
- var historyMessage = this.findMessage(message.id);
- if (!historyMessage) return false;
- historyMessage = Object.assign(historyMessage, message, {
- toContactId: historyMessage.toContactId
- });
- return true;
- },
- /**
- * 手动更新对话消息
- * @param {String} messageId 消息ID,如果为空则更新当前聊天窗口的所有消息
- */
- forceUpdateMessage: function forceUpdateMessage(messageId) {
- if (!messageId) {
- this.$refs.messages.$forceUpdate();
- } else {
- var components = this.$refs.messages.$refs.message;
- if (components) {
- var messageComponent = components.find(function (com) {
- return com.$attrs.message.id == messageId;
- });
- if (messageComponent) messageComponent.$forceUpdate();
- }
- }
- },
- _customContainerReady: function _customContainerReady(render, cacheDrive, key) {
- if (isFunction(render) && !cacheDrive.has(key)) {
- cacheDrive.set(key, render.call(this));
- }
- },
- /**
- * 切换左侧按钮
- * @param {String} name 按钮 name
- */
- changeMenu: function changeMenu(name) {
- this.$emit("change-menu", name);
- this.activeSidebar = name;
- },
- /**
- * 初始化编辑框的 Emoji 表情列表,是 Lemon-editor.initEmoji 的代理方法
- * @param {Array<Emoji,EmojiItem>} data emoji 数据
- * Emoji = {label: 表情,children: [{name: wx,title: 微笑,src: url}]} 分组
- * EmojiItem = {name: wx,title: 微笑,src: url} 无分组
- */
- initEmoji: function initEmoji(data) {
- var flatData = [];
- this.$refs.editor.initEmoji(data);
- if (data[0].label) {
- data.forEach(function (item) {
- var _flatData;
- (_flatData = flatData).push.apply(_flatData, _toConsumableArray(item.children));
- });
- } else {
- flatData = data;
- }
- flatData.forEach(function (_ref2) {
- var name = _ref2.name,
- src = _ref2.src;
- return emojiMap[name] = src;
- });
- },
- initEditorTools: function initEditorTools(data) {
- //this.editorTools = data;
- this.editorTools = data; //this.$refs.editor.initTools(data);
- },
- /**
- * 初始化左侧按钮
- * @param {Array<Menu>} data 按钮数据
- */
- initMenus: function initMenus(data) {
- var _this14 = this;
- var h = this.$createElement;
- var defaultMenus = [{
- name: DEFAULT_MENU_LASTMESSAGES,
- title: "聊天",
- unread: 0,
- click: null,
- render: function render(menu) {
- return h("i", {
- "class": "lemon-icon-message"
- });
- },
- isBottom: false
- }, {
- name: DEFAULT_MENU_CONTACTS,
- title: "通讯录",
- unread: 0,
- click: null,
- render: function render(menu) {
- return h("i", {
- "class": "lemon-icon-addressbook"
- });
- },
- isBottom: false
- }];
- var menus = [];
- if (Array.isArray(data)) {
- var indexMap = {
- messages: 0,
- contacts: 1
- };
- var indexKeys = Object.keys(indexMap);
- menus = data.map(function (item) {
- if (indexKeys.includes(item.name)) {
- return componentsvue_type_script_lang_js_objectSpread({}, defaultMenus[indexMap[item.name]], {}, item, {}, {
- renderContainer: null
- });
- }
- if (item.renderContainer) {
- _this14._customContainerReady(item.renderContainer, _this14.CacheMenuContainer, item.name);
- }
- return item;
- });
- } else {
- menus = defaultMenus;
- }
- this.menus = menus;
- },
- /**
- * 初始化联系人数据
- * @param {Array<Contact>} data 联系人列表
- */
- initContacts: function initContacts(data) {
- this.contacts = data;
- this.sortContacts();
- },
- /**
- * 使用 联系人的 index 值进行排序
- */
- sortContacts: function sortContacts() {
- this.contacts.sort(function (a, b) {
- if (!a.index) return;
- return a.index.localeCompare(b.index);
- });
- },
- appendContact: function appendContact(contact) {
- if (isEmpty(contact.id) || isEmpty(contact.displayName)) {
- console.error("id | displayName cant be empty");
- return false;
- }
- if (this.hasContact(contact.id)) return true;
- this.contacts.push(Object.assign({
- id: "",
- displayName: "",
- avatar: "",
- index: "",
- unread: 0,
- lastSendTime: "",
- lastContent: ""
- }, contact));
- return true;
- },
- removeContact: function removeContact(id) {
- var index = this.findContactIndexById(id);
- if (index === -1) return false;
- this.contacts.splice(index, 1);
- this.CacheDraft.remove(id);
- this.CacheMessageLoaded.remove(id);
- return true;
- },
- /**
- * 修改联系人数据
- * @param {Contact} data 修改的数据,根据 Contact.id 查找联系人并覆盖传入的值
- */
- updateContact: function updateContact(data) {
- var contactId = data.id;
- delete data.id;
- var index = this.findContactIndexById(contactId);
- if (index !== -1) {
- var unread = data.unread;
- if (isString(unread)) {
- if (unread.indexOf("+") === 0 || unread.indexOf("-") === 0) {
- data.unread = parseInt(unread) + parseInt(this.contacts[index].unread);
- }
- }
- this.$set(this.contacts, index, componentsvue_type_script_lang_js_objectSpread({}, this.contacts[index], {}, data));
- }
- },
- /**
- * 根据 id 查找联系人的索引
- * @param contactId 联系人 id
- * @return {Number} 联系人索引,未找到返回 -1
- */
- findContactIndexById: function findContactIndexById(contactId) {
- return this.contacts.findIndex(function (item) {
- return item.id == contactId;
- });
- },
- /**
- * 根据 id 查找判断是否存在联系人
- * @param contactId 联系人 id
- * @return {Boolean}
- */
- hasContact: function hasContact(contactId) {
- return this.findContactIndexById(contactId) !== -1;
- },
- findMessage: function findMessage(messageId) {
- for (var key in allMessages) {
- var message = allMessages[key].find(function (_ref3) {
- var id = _ref3.id;
- return id == messageId;
- });
- if (message) return message;
- }
- },
- findContact: function findContact(contactId) {
- return this.getContacts().find(function (_ref4) {
- var id = _ref4.id;
- return id == contactId;
- });
- },
- /**
- * 返回所有联系人
- * @return {Array<Contact>}
- */
- getContacts: function getContacts() {
- return this.contacts;
- },
- //返回当前聊天窗口联系人信息
- getCurrentContact: function getCurrentContact() {
- return this.currentContact;
- },
- getCurrentMessages: function getCurrentMessages() {
- return this.currentMessages;
- },
- setEditorValue: function setEditorValue() {
- var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
- if (!isString(val)) return false;
- this.$refs.editor.setValue(this.emojiNameToImage(val));
- },
- getEditorValue: function getEditorValue() {
- return this.$refs.editor.getFormatValue();
- },
- /**
- * 清空某个联系人的消息,切换到该联系人时会重新触发pull-messages事件
- */
- clearMessages: function clearMessages(contactId) {
- if (contactId) {
- delete allMessages[contactId];
- this.CacheMessageLoaded.remove(contactId);
- this.CacheDraft.remove(contactId);
- } else {
- allMessages = {};
- this.CacheMessageLoaded.remove();
- this.CacheDraft.remove();
- }
- return true;
- },
- /**
- * 返回所有消息
- * @return {Object<Contact.id,Message>}
- */
- getMessages: function getMessages(contactId) {
- return (contactId ? allMessages[contactId] : allMessages) || [];
- },
- changeDrawer: function changeDrawer(params) {
- this.drawerVisible = !this.drawerVisible;
- if (this.drawerVisible == true) this.openDrawer(params);
- },
- // openDrawer(data) {
- // renderDrawerContent = data || new Function();
- // this.drawerVisible = true;
- // },
- openDrawer: function openDrawer(params) {
- renderDrawerContent = isFunction(params) ? params : params.render || new Function();
- var wrapperWidth = this.$refs.wrapper.clientWidth;
- var wrapperHeight = this.$refs.wrapper.clientHeight;
- var width = params.width || 200;
- var height = params.height || wrapperHeight;
- var offsetX = params.offsetX || 0;
- var offsetY = params.offsetY || 0;
- var position = params.position || "right";
- if (isString(width)) width = wrapperWidth * toPoint(width);
- if (isString(height)) height = wrapperHeight * toPoint(height);
- if (isString(offsetX)) offsetX = wrapperWidth * toPoint(offsetX);
- if (isString(offsetY)) offsetY = wrapperHeight * toPoint(offsetY);
- this.$refs.drawer.style.width = "".concat(width, "px");
- this.$refs.drawer.style.height = "".concat(height, "px");
- var left = 0;
- var top = 0;
- var shadow = "";
- if (position == "right") {
- left = wrapperWidth;
- } else if (position == "rightInside") {
- left = wrapperWidth - width;
- shadow = "-15px 0 16px -14px rgba(0,0,0,0.08)";
- } else if (position == "center") {
- left = wrapperWidth / 2 - width / 2;
- top = wrapperHeight / 2 - height / 2;
- shadow = "0 0 20px rgba(0,0,0,0.08)";
- }
- left += offsetX;
- top += offsetY + -1;
- this.$refs.drawer.style.top = "".concat(top, "px");
- this.$refs.drawer.style.left = "".concat(left, "px");
- this.$refs.drawer.style.boxShadow = shadow;
- this.drawerVisible = true;
- },
- closeDrawer: function closeDrawer() {
- this.drawerVisible = false;
- }
- }
- });
- // CONCATENATED MODULE: ./packages/components/index.vue?vue&type=script&lang=js&
- /* harmony default export */ var packages_componentsvue_type_script_lang_js_ = (componentsvue_type_script_lang_js_);
- // EXTERNAL MODULE: ./packages/components/index.vue?vue&type=style&index=0&lang=stylus&
- var componentsvue_type_style_index_0_lang_stylus_ = __webpack_require__("9b01");
- // CONCATENATED MODULE: ./packages/components/index.vue
- var components_render, components_staticRenderFns
- /* normalize component */
- var components_component = normalizeComponent(
- packages_componentsvue_type_script_lang_js_,
- components_render,
- components_staticRenderFns,
- false,
- null,
- null,
- null
-
- )
- /* harmony default export */ var components = (components_component.exports);
- // EXTERNAL MODULE: ./packages/styles/common/index.styl
- var common = __webpack_require__("6a2b");
- // CONCATENATED MODULE: ./packages/index.js
- var version = "1.4.2";
- var packages_components = [components, components_contact, messages, editor, avatar, badge, components_button, popover, tabs, basic, message_text, message_image, file, message_event];
- var packages_install = function install(Vue) {
- Vue.directive("LemonContextmenu", contextmenu);
- packages_components.forEach(function (component) {
- Vue.component(component.name, component);
- });
- };
- if (typeof window !== "undefined" && window.Vue) {
- packages_install(window.Vue);
- }
- /* harmony default export */ var packages_0 = ({
- version: version,
- install: packages_install
- });
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
- /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (packages_0);
- /***/ }),
- /***/ "fbd1":
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_basic_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("820e");
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_basic_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_basic_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0__);
- /* unused harmony reexport * */
- /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_basic_vue_vue_type_style_index_0_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a);
- /***/ }),
- /***/ "fdef":
- /***/ (function(module, exports) {
- module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
- '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
- /***/ })
- /******/ });
- });
|